:root {
    --bg-color: #0f172a;
    --panel-bg: rgba(30, 41, 59, 0.7);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --active-day: rgba(59, 130, 246, 0.2);
    --active-day-border: #3b82f6;
    --friday-glow: #10b981;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f172a, #1e1b4b);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

header {
    text-align: center;
    margin-bottom: 32px;
}

header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(to right, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 8px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.calendar-header button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-header button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    user-select: none;
}

.day.empty {
    cursor: default;
}

.day:not(.empty) {
    background: rgba(255, 255, 255, 0.03);
}

.day:not(.empty):hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.day.active {
    background: var(--active-day);
    border-color: var(--active-day-border);
    color: #60a5fa;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.day.friday {
    position: relative;
}

.day.friday::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 4px;
    height: 4px;
    background: var(--friday-glow);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--friday-glow);
}

.holiday-text {
    font-size: 8px;
    color: #ef4444; /* red-500 */
    text-align: center;
    margin-top: 4px;
    padding: 0 2px;
    line-height: 1.1;
}

.info-panel {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.info-panel h3 {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.task-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.task-list li {
    font-size: 14px;
    display: flex;
    align-items: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 12px;
}

.dot.log-in { background: #34d399; box-shadow: 0 0 8px #34d399;}
.dot.break-out { background: #fbbf24; box-shadow: 0 0 8px #fbbf24;}
.dot.break-in { background: #60a5fa; box-shadow: 0 0 8px #60a5fa;}
.dot.log-out { background: #f87171; box-shadow: 0 0 8px #f87171;}

/* Toggle Switch Styles */
.toggle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.toggle-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #4b5563;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #ef4444; /* Prod red */
}

input:focus + .slider {
    box-shadow: 0 0 1px #ef4444;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}
