@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary: #0051f8; /* AATB Blue */
    --secondary: #1A1A1A; /* Dark Gray / Black */
    --bg: #F8F9FA;
    --text: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --border: #E0E0E0;
    --success: #28A745;
    --radius: 16px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.5;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
}

#container {
    width: 100%;
    max-width: 480px; /* Mobile only feel */
    min-height: 100vh;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 0 40px rgba(0,0,0,0.05);
}

header {
    padding: 20px 24px;
    background: var(--primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* Let's try without filter first since the SVG might have white text */
.logo-svg {
    height: 28px;
    width: auto;
}

.room-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

main {
    flex: 1;
    padding: 24px;
    padding-bottom: 100px; /* Space for footer */
}

/* Card Styling */
.card {
    animation: fadeIn 0.4s ease-out;
}

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

h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
    line-height: 1.2;
}

p.subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

/* Options / Buttons */
.options-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary);
}

.btn-option:active {
    transform: scale(0.98);
}

.btn-option.selected, .btn-option:hover {
    border-color: var(--primary);
    background: rgba(227, 6, 19, 0.04);
    color: var(--primary);
}

.btn-option.secondary {
    margin-top: 12px;
    background: #F1F1F1;
    border-color: transparent;
    color: var(--text-light);
}

.btn-option i {
    font-size: 1.2rem;
    color: var(--primary);
}

/* Instruction Steps */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #F8F9FA;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}

.step-num {
    background: var(--primary);
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    font-size: 1rem;
    color: var(--text);
}

.step-content strong {
    color: var(--secondary);
    font-weight: 600;
}

/* Warning Box */
.warning-box {
    background: #FFF4F4;
    border: 1px solid #FFCDCD;
    color: #D32F2F;
    padding: 16px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Footer Navigation */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 12px 16px;
    gap: 8px;
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    padding: 8px;
    border-radius: 12px;
    transition: var(--transition);
}

.nav-btn:active {
    background: rgba(0,0,0,0.05);
}

.nav-btn i {
    font-size: 1.25rem;
}

.nav-btn.active {
    color: var(--primary);
}

/* Next Button */
.btn-next {
    display: block;
    width: 100%;
    padding: 18px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 32px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.3);
}

.btn-next:active {
    transform: scale(0.98);
}

/* Utils */
.hidden { display: none !important; }
.mt-4 { margin-top: 24px; }

/* Responsive adjustments */
@media (min-width: 481px) {
    #container {
        border-left: 1px solid var(--border);
        border-right: 1px solid var(--border);
    }
}
