/* week-number.css */

/* Hero Section */
.week-hero {
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-label {
    font-size: 1rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

#currentWeekDisplay {
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    text-shadow: 0 10px 30px rgba(0, 242, 254, 0.2);
}

.current-dates {
    font-size: 1.2rem;
    color: var(--text-primary);
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    max-width: 600px;
    margin-top: 1rem;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.progress-bar-bg {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

body.light-mode .progress-bar-bg {
    background: rgba(0, 0, 0, 0.05);
}

.progress-bar-fill {
    height: 100%;
    width: 0%; /* Animated via JS */
    background: var(--secondary-gradient);
    border-radius: 6px;
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 10px var(--accent-color);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Calculators */
.calculators-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.calc-card {
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
}

.calc-card h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.3rem;
}

.input-group {
    margin-bottom: 1rem;
    width: 100%;
}

.input-row {
    display: flex;
    gap: 1rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.glass-input {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 0.8rem;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

body.light-mode .glass-input {
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(0,0,0,0.1);
}

.glass-input:focus {
    border-color: var(--accent-color);
}

.full-width {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.8rem;
}

.result-box {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 500;
    color: var(--accent-color);
    border: 1px dashed rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    #currentWeekDisplay { font-size: 5rem; }
    .hero-content { margin-bottom: 1rem; }
    .calculators-wrapper { grid-template-columns: 1fr; }
}
