*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    overflow:hidden;
}

#desktop{
    width:100vw;
    height:100vh;
    background: url("./assets/wallpapers/indian-flag.png") center/cover no-repeat;
    display:flex;
    flex-direction:column;
    gap:25px;
    padding:20px;
}

.icon{
    width:80px;
    color:white;
    text-align:center;
    cursor:pointer;
    user-select:none;
    font-size:38px;
    padding:8px;
    border-radius:10px;
    transition:.25s;
}

.icon:hover{
    background:rgba(255,255,255,.2);
}

.icon span{
    display:block;
    font-size:14px;
    margin-top:5px;
}

#taskbar{
    position:fixed;
    left:0;
    bottom:0;
    width:100%;
    height:50px;
    background:rgba(0,0,0,.45);
    backdrop-filter:blur(15px);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 15px;
    color:white;
    z-index:9999;
}

#startBtn{
    padding:8px 18px;
    border:none;
    border-radius:8px;
    cursor:pointer;
    font-weight:bold;
}

#clock{
    font-size:16px;
}

#startMenu{
    position:fixed;
    left:10px;
    bottom:60px;
    width:220px;
    background:white;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,.3);
    display:none;
    overflow:hidden;
    z-index:999;
}

#startMenu div{
    padding:12px;
    cursor:pointer;
    transition:.2s;
}

#startMenu div:hover{
    background:#eeeeee;
}

.window{
    position:absolute;
    top:80px;
    left:120px;
    width:350px;
    height:280px;
    background:white;
    border-radius:12px;
    border:1px solid #cccccc;
    overflow:hidden;
    display:none;
    box-shadow:0 10px 30px rgba(0,0,0,.35);
}

.titlebar{
    height:40px;
    background:#1b5e20;
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 15px;
    cursor:move;
}

.titlebar button{
    background:none;
    border:none;
    color:white;
    font-size:18px;
    cursor:pointer;
}

.content{
    padding:15px;
    height:calc(100% - 40px);
    overflow:auto;
}

textarea{
    width:100%;
    height:160px;
    resize:none;
    padding:10px;
    font-size:15px;
}

#calcDisplay{
    width:100%;
    padding:10px;
    font-size:22px;
    text-align:right;
    border:1px solid #cccccc;
    border-radius:6px;
}

.calc-buttons{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:8px;
    margin-top:12px;
}

.calc-buttons button{
    padding:12px;
    font-size:18px;
    border:none;
    border-radius:6px;
    background:#f2f2f2;
    cursor:pointer;
    transition:.2s;
}

.calc-buttons button:hover{
    background:#dddddd;
}
#toast{

    position:fixed;

    right:20px;

    bottom:70px;

    background:#222;

    color:white;

    padding:12px 20px;

    border-radius:8px;

    display:none;

    z-index:99999;

    animation:fade .3s;
}

@keyframes fade{

    from{
        opacity:0;
        transform:translateY(20px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}
#bootScreen{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:linear-gradient(135deg,#FF9933,#FFFFFF,#138808);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:100000;
}

#bootContent{
    text-align:center;
    color:#000;
}

#bootContent h1{
    font-size:48px;
    margin-bottom:10px;
}

#bootContent p{
    font-size:18px;
    margin:10px 0;
}

.loader{
    width:300px;
    height:12px;
    background:#ddd;
    border-radius:20px;
    overflow:hidden;
    margin:20px auto;
}

.progress{
    width:0%;
    height:100%;
    background:#1b5e20;
    animation:bootProgress 3s linear forwards;
}

@keyframes bootProgress{

    from{
        width:0%;
    }

    to{
        width:100%;
    }

}
#contextMenu{

    position:fixed;

    width:220px;

    background:white;

    border-radius:10px;

    box-shadow:0 8px 25px rgba(0,0,0,.35);

    display:none;

    overflow:hidden;

    z-index:99999;

}

#contextMenu div{

    padding:12px;

    cursor:pointer;

}

#contextMenu div:hover{

    background:#f1f1f1;

}
#taskbar{

width:96%;

left:2%;

bottom:12px;

border-radius:16px;

border:1px solid rgba(255,255,255,.2);

}
.window{

backdrop-filter:blur(18px);

border:1px solid rgba(255,255,255,.25);

transition:.2s;

}

.window:hover{

transform:scale(1.01);

}
.icon{

transition:.25s;

}

.icon:hover{

transform:translateY(-6px);

}
button{

transition:.2s;

}

button:hover{

transform:scale(1.05);

}
