.wake-simulator {
    max-width: var(--max-width);
    margin: 2rem auto;
    padding: 0 1rem;
}

.wake-simulator h1 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 2rem;
}

.simulator-container {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mode-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.mode-btn {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--primary);
    border-radius: 8px;
    background: var(--white);
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mode-btn.active {
    background: var(--primary);
    color: var(--white);
}

.calculator {
    margin-bottom: 2rem;
}

.time-input {
    margin-bottom: 2rem;
}

.time-input label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.time-input input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-200);
    border-radius: 4px;
    font-size: 1.25rem;
}

.cycle-options {
    margin-bottom: 2rem;
    text-align: center;
}

.cycle-options h3 {
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.cycle-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.cycle-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
    border-radius: 8px;
    background: var(--white);
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.cycle-btn.active {
    background: var(--primary);
    color: var(--white);
}

.cycle-info {
    font-size: 0.875rem;
    color: var(--gray-800);
}

.results {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gray-200);
}

.results h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.result-times {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.time-option {
    padding: 1rem;
    border: 2px solid var(--primary);
    border-radius: 8px;
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

.time-option.recommended {
    background: var(--primary);
    color: var(--white);
}

.time-value {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.time-label {
    font-size: 0.875rem;
}

.sleep-tips {
    background: var(--gray-100);
    padding: 1.5rem;
    border-radius: 8px;
}

.sleep-tips h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.sleep-tips ul {
    list-style: none;
}

.sleep-tips li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.sleep-tips li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .simulator-container {
        padding: 1rem;
    }
    
    .mode-selector {
        flex-direction: column;
    }
    
    .cycle-buttons {
        flex-direction: column;
    }
    
    .cycle-btn {
        width: 100%;
    }
}