/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template
*/
/*
    Created on : Nov 24, 2026, 4:20:28 PM
    Author     : matri
*/

:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --surface-color: #f4f4f4;
}

[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --surface-color: #1e1e1e;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

.theme-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 60px;
    height: 32px;
    padding: 4px 6px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background-color: #e2e8f0;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.theme-toggle:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Dark mode track styling */
[data-theme="dark"] .theme-toggle {
    background-color: #1e293b;
    border-color: #475569;
}

/* Icons */
.theme-toggle .icon {
    z-index: 1;
    transition: color 0.3s ease;
}

.theme-toggle .sun {
    color: #f59e0b;
}

.theme-toggle .moon {
    color: #94a3b8;
}

[data-theme="dark"] .theme-toggle .moon {
    color: #f8fafc;
}

/* Sliding Circle */
.toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Slide thumb to the right in dark mode */
[data-theme="dark"] .toggle-thumb {
    transform: translateX(28px);
    background-color: #3b82f6;
}

header {
    font-size: 24pt;
    font-weight: bold;
}