body {
    height: 100vh;
    background-size: cover;
    background-image: url(/image.png);
    font-family: oswald, rubik, Ubuntu, sans-serif;
    background-color: #f4f4f9;
    text-align: center;
    padding: 20px;
    margin: 0;
}

.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    background-color: rgba(15, 23, 42, 0.45);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.top-bar-title {
    margin-left: 20px;
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.top-bar-time {
    margin-right: 20px;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 0.875rem;
    opacity: 0.85;
    font-feature-settings: 'tnum';
}

.welcome-modal {
    background-color: #f4f4f9;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 15px;
    border: solid;
    width: fit-content;
    border-radius: 12px;
}

.modal-header {
    background-color: rgba(15, 23, 42, 0.45);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-radius: 8px 8px 0 0;
    padding: 8px 12px;
    margin: -15px -15px 15px -15px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    cursor: move;
}

.modal-close-btn {
    margin: 0;
    background: rgba(239, 68, 68, 0.8);
    color: #ffffff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.welcome-heading {
    color: #333333;
    margin-top: 4px;
}

.fun-text {
    color: green;
}

.social-links {
    margin: 20px 0;
}

.social-links a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
}

.discord-info {
    color: #666666;
    font-size: 14px;
}
.selected {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
    cursor: pointer;
}

.selected:hover {
    background-color: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.5);
}

.selected:active {
    transform: scale(0.96);
}

.notes-container {
    display: flex;

    height: 370px;

    margin-top: 10px;

    overflow: hidden;

    text-align: left;
}

.notes-sidebar {
    width: 38%;

    padding-right: 10px;

    box-sizing: border-box;

    border-right:
        1px solid rgba(0, 0, 0, 0.13);

    display: flex;
    flex-direction: column;
}


.notes-sidebar .app-btn {
    width: 100%;

    padding: 9px 12px;

    margin-bottom: 10px;

    border: none;

    border-radius: 8px;

    background: #0f172a;

    color: white;

    font-size: 0.85rem;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.15s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}


.notes-sidebar .app-btn:hover {
    background: #1e293b;

    transform:
        translateY(-1px);

    box-shadow:
        0 4px 12px
        rgba(0, 0, 0, 0.18);
}


.notes-sidebar .app-btn:active {
    transform: translateY(0);
}


.notes-section-title {
    padding:
        2px 8px
        6px 8px;

    color: #777;

    font-size: 0.68rem;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    font-weight: 700;
}


.notes-list {
    list-style: none;

    padding: 0;
    margin: 0;

    flex: 1;

    overflow-y: auto;
}


.notes-list::-webkit-scrollbar {
    width: 5px;
}


.notes-list::-webkit-scrollbar-thumb {
    background:
        rgba(0, 0, 0, 0.18);

    border-radius: 10px;
}


.notes-list li {
    position: relative;

    padding:
        9px 10px;

    margin-bottom: 3px;

    border-radius: 8px;

    cursor: pointer;

    overflow: hidden;

    transition:
        background 0.15s ease,
        transform 0.15s ease;
}


.notes-list li:hover {
    background:
        rgba(0, 0, 0, 0.06);
}


.notes-list li.active {
    background:
        rgba(0, 0, 0, 0.11);
}


.notes-list li.active::before {
    content: "";

    position: absolute;

    left: 0;
    top: 8px;
    bottom: 8px;

    width: 3px;

    border-radius: 5px;

    background: #0f172a;
}


.note-list-title {
    font-size: 0.88rem;

    font-weight: 700;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;
}


.note-list-preview {
    margin-top: 2px;

    color: #777;

    font-size: 0.75rem;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;
}


.note-list-date {
    margin-top: 3px;

    color: #999;

    font-size: 0.65rem;
}

.notes-sidebar-info {
    padding-top: 8px;

    margin-top: 6px;

    border-top:
        1px solid
        rgba(0, 0, 0, 0.10);

    color: #999;

    font-size: 0.68rem;

    text-align: center;
}

.notes-empty {
    height: 100%;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 3px;

    text-align: center;

    color: #777;
}


.notes-empty-icon {
    font-size: 28px;

    margin-bottom: 5px;
}


.notes-empty strong {
    color: #444;

    font-size: 0.82rem;
}


.notes-empty span {
    font-size: 0.7rem;
}

.notes-editor {
    width: 62%;

    min-width: 0;

    padding-left: 12px;

    box-sizing: border-box;

    display: flex;

    flex-direction: column;
}

.notes-editor-header {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 8px;
}


.notes-editor-icon {
    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background:
        rgba(0, 0, 0, 0.06);

    font-size: 16px;
}


.notes-editor-heading {
    flex: 1;

    display: flex;

    flex-direction: column;

    min-width: 0;
}


#noteLastEdited {
    font-size: 0.68rem;

    color: #888;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


#notesSaveStatusMobile {
    display: none;
}


.notes-delete-btn {
    width: 30px;
    height: 30px;

    border:
        1px solid
        rgba(0, 0, 0, 0.12);

    border-radius: 7px;

    background: transparent;

    color: #777;

    cursor: pointer;

    transition:
        background 0.15s ease,
        color 0.15s ease;
}


.notes-delete-btn:hover {
    background:
        rgba(220, 38, 38, 0.08);

    color: #dc2626;
}


.notes-delete-btn:disabled {
    opacity: 0.35;

    cursor: not-allowed;
}

.notes-editor input,
.notes-editor textarea {
    width: 100%;

    box-sizing: border-box;

    border:
        1px solid
        transparent;

    border-radius: 8px;

    background:
        rgba(255, 255, 255, 0.42);

    outline: none;

    font-family: inherit;

    transition:
        background 0.15s ease,
        border 0.15s ease,
        box-shadow 0.15s ease;
}


.notes-editor input {
    padding:
        10px 9px;

    margin-bottom: 8px;

    font-size: 1.05rem;

    font-weight: 700;
}


.notes-editor textarea {
    flex: 1;

    min-height: 0;

    padding:
        10px;

    resize: none;

    font-size: 0.9rem;

    line-height: 1.55;
}


.notes-editor input:focus,
.notes-editor textarea:focus {
    background:
        rgba(255, 255, 255, 0.72);

    border-color:
        rgba(0, 0, 0, 0.16);

    box-shadow:
        0 0 0 3px
        rgba(0, 0, 0, 0.035);
}


.notes-editor input:disabled,
.notes-editor textarea:disabled {
    opacity: 0.45;

    cursor: not-allowed;
}

.notes-editor textarea::-webkit-scrollbar {
    width: 5px;
}


.notes-editor textarea::-webkit-scrollbar-thumb {
    background:
        rgba(0, 0, 0, 0.18);

    border-radius: 10px;
}

.notes-window-controls {
    display: flex;

    align-items: center;

    gap: 10px;
}


#notesSaveStatus {
    color:
        rgba(255, 255, 255, 0.65);

    font-size: 0.68rem;
}

/* Weather */

.weather-container {
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

.weather-search {
    display: flex;
    gap: 7px;
    margin-bottom: 8px;
}

.weather-search input {
    flex: 1;
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.55);
    outline: none;
    font-family: inherit;
    font-size: 0.85rem;
    box-sizing: border-box;
}

.weather-search input:focus {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.2);
}

.weather-search button {
    padding: 0 14px;
    border: none;
    border-radius: 8px;
    background: #0f172a;
    color: white;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: 0.15s ease;
}

.weather-search button:hover {
    background: #1e293b;
    transform: translateY(-1px);
}

.weather-location-btn {
    width: 100%;
    padding: 9px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.4);
    color: #333;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: 0.15s ease;
}

.weather-location-btn:hover {
    background: rgba(255, 255, 255, 0.7);
}

.weather-loading {
    text-align: center;
    padding: 20px;
    color: #777;
}

.weather-error {
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 8px;
    background: rgba(220, 38, 38, 0.08);
    color: #b91c1c;
    font-size: 0.8rem;
    text-align: center;
}

.weather-main {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 4px 0;
}

.weather-icon-large {
    font-size: 58px;
    width: 75px;
    text-align: center;
}

.weather-temperature {
    font-size: 3rem;
    line-height: 1;
    font-weight: 700;
    color: #222;
}

.weather-description {
    margin-top: 6px;
    color: #777;
    font-size: 0.82rem;
}

.weather-location {
    margin-top: 8px;
    color: #555;
    font-size: 0.9rem;
    font-weight: 600;
}

.weather-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 18px;
}

.weather-detail {
    padding: 11px 5px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.42);
    text-align: center;
}

.weather-detail span {
    display: block;
    font-size: 17px;
    margin-bottom: 4px;
}

.weather-detail strong {
    display: block;
    font-size: 0.78rem;
    color: #333;
}

.weather-detail small {
    display: block;
    margin-top: 2px;
    color: #888;
    font-size: 0.62rem;
}

.weather-section-title {
    margin: 18px 0 8px;
    color: #777;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.weather-forecast {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
}

.weather-day {
    padding: 9px 3px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.4);
    text-align: center;
}

.weather-day-name {
    color: #777;
    font-size: 0.62rem;
    font-weight: 700;
}

.weather-day-icon {
    margin: 5px 0;
    font-size: 20px;
}

.weather-day-temp {
    color: #333;
    font-size: 0.7rem;
    font-weight: 700;
}

.weather-day-low {
    color: #999;
    font-size: 0.65rem;
}

.weather-icon-image {
    font-size: 48px;
    line-height: 64px;
}