:root {
    --base-color: #e0d4eb;
    --shadow-light: #ffffff;
    --shadow-dark: #b8abc2;
    --text-main: #332a3a;
}


body {
    background-color: var(--base-color);
    background-image: url('img/violet.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-main);
    width: 100vw; height: 100vh;
    margin: 0px;
    overflow: hidden;
}



.neu-rs {
    box-shadow: 6px 6px 12px var(--shadow-dark), -6px -6px 12px var(--shadow-light); background-color: var(--base-color);
}

.neu-ins {
    box-shadow: inset 6px 6px 12px var(--shadow-dark), inset -6px -6px 12px var(--shadow-light);
    background-color: var(--base-color);
}




#topbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: absolute;
    width: calc(100% - 40px);
    margin: 10px 20px;
    background: var(--base-color);
    border-radius: 15px;
    box-shadow: 6px 6px 12px var(--shadow-dark), -6px -6px 12px var(--shadow-light);
    color: var(--text-main);
    z-index: 1000;
}

.tpr-icn { margin-left: 15px; font-size: 20px; }

#welcomeOpen:hover {
    cursor: pointer;
    font-weight: bold;
    transform: scale(105%);
}

#time {
    text-align: right;
    padding-right: 15px;
}







.win {
    background-color: var(--base-color);
    border-radius: 20px; padding: 0 20px 20px 20px;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 12px 12px 24px var(--shadow-dark), -12px -12px 24px var(--shadow-light);
    border: none;
    min-width: 500px;
}

.winHdr {
    background-color: var(--base-color);
    margin-left: -20px; margin-right: -20px;
    padding: 5px 20px;
    border-top-left-radius: 20px; border-top-right-radius: 20px;
    box-shadow: inset 0px -4px 6px -4px var(--shadow-dark);
    display: flex; align-items: center; justify-content: space-between;
    cursor: grab;
}

.winHdr:active { cursor: grabbing; }

.clsBtn {
    border: none;
    background-color: var(--base-color);
    width: 30px; height: 30px;
    border-radius: 50%;
    box-shadow: 4px 4px 8px var(--shadow-dark), -4px -4px 8px var(--shadow-light);
    transition: all 0.2s ease;
    position: relative;
}

.clsBtn::before, .clsBtn::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 12px; height: 2px;
    background-color: var(--text-main);
}

.clsBtn::before { transform: translate(-50%, -50%) rotate(45deg); }
.clsBtn::after { transform: translate(-50%, -50%) rotate(-45deg); }

.clsBtn:hover {
    cursor: pointer;
    transform: scale(110%);
}

.clsBtn:active {
    box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
}


#desktopApps {
    padding-top: 100px; padding-left: 20px;
    display: flex; flex-direction: column;
    gap: 20px;
}

.icon {
    text-align: center;
    width: 80px; padding: 15px;
    border-radius: 16px;
    box-shadow: 6px 6px 12px var(--shadow-dark), -6px -6px 12px var(--shadow-light);
    background-color: var(--base-color);
    transition: box-shadow 0.2s ease;
    user-select: none;
}

.icon p {
    margin: 10px 0 0 0px;
    font-size: 14px;
}

.icon:hover { cursor: pointer; }

.icon.selected {
    box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
}

.icn-grp {
    font-size: 35px;
    color: var(--text-main);
}




.app-tlb {
    display: flex; align-items: center;
    padding: 10px 0px; gap: 10px;
}

.tlb-icn {
    font-size: 25px;
    padding: 10px; border-radius: 50%;
    box-shadow: 3px 3px 6px var(--shadow-dark), -3px -3px 6px var(--shadow-light);
}

.app-lyt {
    display: flex; gap: 15px;
    border-radius: 10px;
    height: 400px;
}




#nt { width: 850px; }

#sidebar {
    width: 200px;
    border-radius: 8px; padding: 15px;
    overflow-y: auto;
    display: flex; flex-direction: column; gap: 10px;
}

.sb-item {
    padding: 10px; border-radius: 8px;
    cursor: pointer;
    box-shadow: 3px 3px 6px var(--shadow-dark), -3px -3px 6px var(--shadow-light);
    transition: all 0.1s ease;
}

.sb-item.active-nt {
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
}

.sb-item p { margin: 0px; }
.sb-item .nt-ttl { font-weight: bold; }
.sb-item .nt-dt { font-size: 12px; opacity: 0.7; margin-top: 5px; }

#notesContent {
    flex-grow: 1; border-radius: 8px;
    padding: 20px; outline: none;
    overflow-y: auto; white-space: pre-wrap;
}







.neu-btn {
    padding: 8px 15px;
    border: none; border-radius: 8px;
    background-color: var(--base-color);
    color: var(--text-main);
    box-shadow: 4px 4px 8px var(--shadow-dark), -4px -4px 8px var(--shadow-light);
    cursor: pointer; font-weight: bold;
}

.neu-btn:active {
    box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
}

.neu-inp {
    border: none;
    background-color: var(--base-color);
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
    border-radius: 8px; padding: 5px; height: 30px;
    cursor: pointer;
}




#pnt { width: 740px; }
#pntCnv {
    border-radius: 8px;
    cursor: crosshair;
    background-color: #ffffff;
}






#calc { width: 320px; min-width: 320px; }

.calc-disp {
    font-size: 24px;
    text-align: right;
    padding: 15px;
    margin: 15px 0;
    border-radius: 8px;
    word-wrap: break-word;
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}




#wth { width: 380px; min-width: 380px; }

.wth-box {
    padding: 25px;
    text-align: center;
    border-radius: 12px;
    margin-top: 10px;
}

.wth-icn {
    font-size: 50px;
    margin-bottom: 10px;
}

.wth-box h2 {
    margin: 5px 0;
    font-size: 32px;
}

.wth-box p {
    margin: 0;
    opacity: 0.8;
}

#brw { width: 550px; min-width: 550px; }

.brw-body {
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-top: 10px;
    gap: 10px;
}






#thm { width: 320px; min-width: 320px; }

.thm-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 15px 0;
}

body.thm-default {
    background-image: url('img/violet.jpg');
    --base-color: #231633;
    --shadow-light: #311f47;
    --shadow-dark: #150d1f;
    --text-main: #eadef7;
}

body.thm-blue {
    background-image: url('img/blue.jpg');
    --base-color: #cbe0e8;
    --shadow-light: #eaf8ff;
    --shadow-dark: #a2b7c0;
    --text-main: #1b2832;
}

body.thm-black {
    background-image: url('img/black.jpg');
    --base-color: #0f1012;
    --shadow-light: #191b1f;
    --shadow-dark: #050506;
    --text-main: #e1e1e1;
}


#ldScr {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-color: #e0d4eb;
    display: flex; align-items: center; justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.ld-bar-bg {
    width: 200px; height: 10px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #b8abc2;
}

#ldBar {
    width: 0%; height: 100%;
    background-color: #ffffff;
    border-radius: 10px;
    transition: width 0.1s linear;
}




#taskbar {
    position: absolute;
    bottom: 15px; left: 50%;
    transform: translateX(-50%);
    height: 57px;
    min-width: 25vw;
    width: max-content;
    box-sizing: border-box;
    padding: 0 10px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background-color: color-mix(in srgb, var(--shadow-dark) 80%, transparent);
    border-radius: 12px;
    box-shadow: 6px 6px 12px var(--shadow-dark), -6px -6px 12px var(--shadow-light);
    z-index: 1000;
}

.tsk-item {
    width: 40px; height: 40px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 3px 3px 6px var(--shadow-dark), -3px -3px 6px var(--shadow-light);
    cursor: pointer;
    font-size: 14px;
    background-color: var(--base-color);
    color: var(--text-main);
}






.tsk-item:active {
    box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
}


