/*today i am gonna finish the css les gooo*/
html,body{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #121212;
    color: #eeeeee;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow:hidden;
}
/* .light-mode{
    background-color: #f0f0f0;
    color: #333;
} */
/*it look two much good(worst) so i left it here*/
#app-container{
    display: flex;
    flex-direction: column;
    height: 100vh;
}
#header-area{
    padding: 15px 20px;
    background: #1e1e1e;
    border-bottom: 2px solid #333;
    z-index: 10;
}
h1{
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    color: #4caf50;
}
.subtitle{
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 10px;
}
#controls{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}
.control-group{
    display: flex;
    flex-direction: column;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 8px 12px;
}
.control-group label{
    font-size: 0.85rem;
    font-weight: bold;
    color: #ddd;
    margin-right: 10px;
}
button{
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 8px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}
button:hover{
    background-color: #45a049;
}
button:active{
    transform: translateY(1px);
}
button.danger{
    background-color: #f44336;
}
button.danger:hover{
    background-color: #da190b;
}
input[type=range]::-webkit-slider-thumb{
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #4caf50;
    cursor: pointer;
    margin-top: -6px;
}
input[type=range]::-webkit-slider-runnable-track{
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #555;
    border-radius: 2px;
}
#canvas-wrapper{
    flex-grow: 1;
    position: relative;
    cursor: crosshair;
}
canvas{
    display: block;
    width: 100%;
    height: 100%;
}
#drawing-indicator{
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    display: none;
    pointer-events: none;
    animation: pulse 1s infinite;
}
@keyframes pulse{
    0%{
        transform: scale(1);
        opacity: 1;
    }
    50%{
        transform: scale(1.1);
        opacity: 0.7;
    }
    100%{
        transform: scale(1);
        opacity: 1;
    }
}
/*a small break*/
/*less start again*/
.tooltip{
    position: relative;
    display: inline-block;
}
.tooltip .tooltiptext{
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    font-size: 11px;
    font-weight: normal;
    transition: opacity 0.3s;
}
.tooltip:hover .tooltiptext{
    visibility: visible;
    opacity: 1;
}
#status-bar{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 5px 10px;
    font-size: 11px;
    color: #888;
    box-sizing: border-box;
    pointer-events: none;
}