body {
    height: 100vh;
    width: 100vw;
    background-image: url(assets/images/background.gif);
    object-fit: cover;
    font-family: monospace;
    overflow: hidden;
}

img {
    width: 250px;
    height: 250px;
    object-fit: cover;
}

.center {
    text-align: center;
}

.window {
    background: white;
    border: solid;
    width: fit-content;
    min-width: 600px;
    max-width: 1000px;
    max-height: 75vh;
    border-radius: 16px;
    position: absolute;
    top: 20%;
    left: 20%;
    display: flex;
    flex-direction: column;
}

.windowbody {
    overflow-y: auto;
    padding: 10px;
    flex: 1;
}

.headerdiv {
    background-color: #304cbd;
    border-radius: 16px;
    border-top: 2px solid #5b7fff;    /* Lighter blue highlight */
    border-bottom: 2px solid #1a35a3; /* Darker blue shadow */
    display: flex;
    justify-content: space-between;
    padding-left: 10px;
    padding-right: 10px;
    align-items: center;
    gap: 10px;
    margin: 5px;
}

.headerimg {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    cursor: move;
}

#topbar {
    width: 100vw;
    position: fixed;
    display: flex;
    flex-direction: column;
    left: 0;
    top: 0;
    right: 0;
}

#taskbar {
    width: 100%; 
    height: auto;
    display: flex;
    backdrop-filter: blur(10px); 
    background-color: rgba(255, 238, 0, 0.5); 
    color: #0033ff; 
    justify-content: space-evenly;
    align-items: center;
}

#statsbar {
    width: 100%; 
    height: auto;
    display: flex;
    backdrop-filter: blur(10px); 
    background-color: rgba(72, 255, 0, 0.5); 
    color: #0033ff; 
    justify-content: space-evenly;
    align-items: center;
}

.closebtn {
    color: darkgreen;
    background-color: white;
    cursor: pointer;
    border: solid 1px;
    border-color: black;
    border-radius: 8px;
}

.closebtn:hover {
    color: white;
    background-color: darkgreen;
    border-color: darkgreen;
}

#desktopApps {
    padding: 16px;
    padding-top: 100px;
}

.desktopIcon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid black;
}

.desktopIcon:hover {
    border-color: lime;
}

.selected {
    border-color: yellow !important;
}

#taskbarToggle {
    display: block;
    border: 1px solid black;
    cursor: pointer;
    border-radius: 16px;
    background-color: #304cbd;
    height: 30px;
    width: 150px;
}

#taskbarToggle:hover {
    background-color: #192f86;
}

.inAppTopBar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: lightgray;
    border-radius: 16px;
    padding: 8px;
    overflow-x: scroll;
    width: 100%;
    box-sizing: border-box;
}

.topBarBtn {
    background-color: gray;
    border: 1px solid rgb(50, 50, 50);
    border-radius: 16px;
    cursor: pointer;
    padding: 5px;
}

.topBarBtn:hover {
    background-color: rgb(100, 100, 100);
}

#notesContent {
    width: 100%;
    box-sizing: border-box;
    
    /* THE FIX: Force the text to wrap instead of pushing boundaries */
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.settingOptions {
    display: flex;
    flex-direction: column;
}

.settingOptions label {
    display: flex;
    align-items: center;
}

/* Style the radio inputs from scratch*/
.settingOptions [type=radio] {
    appearance: none;
    -webkit-appearance: none;
    background-color: rgb(220, 220, 220);
    margin-inline: 8px;

    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;

    cursor: pointer;
    vertical-align: middle;
    transition: all 0.2s ease;

    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Style the hover state of your custom ring */
.settingOptions [type=radio]:hover {
    border-color: rgb(255, 85, 0);
    box-shadow: 0 0 6px rgba(255, 85, 0, 0.3);
}

/* Design the inner dot when SELECTED (:checked) */
.settingOptions [type=radio]:checked {
    border-color: rgb(255, 85, 0);
}

.settingOptions [type=radio]:checked::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%; /* Keeps the inner dot perfectly circular */
    background-color: rgb(255, 85, 0);
}