/* style.css - The Wedding Charm Theme */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
    --primary: #D4AF37;
    --primary-dark: #B59020;
    --bg-gradient: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    --card-bg: #FFFFFF;
    --text-dark: #2C3E50;
    --text-muted: #95a5a6;
    --nav-height: 70px;
}

body {
    font-family: 'Lato', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-dark);
    margin: 0; padding: 0;
    min-height: 100vh;
    padding-bottom: var(--nav-height); /* Space for footer */
}

/* Container */
.app-container {
    width: 100%; max-width: 600px; margin: 0 auto;
    background: var(--card-bg); min-height: 100vh; position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

/* Header */
header { text-align: center; padding: 30px 20px 10px; background: #fff; }
h1 { font-family: 'Playfair Display', serif; font-size: 2rem; margin: 0; color: var(--text-dark); }
.subtitle { color: var(--primary); font-family: 'Playfair Display', serif; font-style: italic; }

/* Content */
.content-area { padding: 20px 25px 40px; }

/* Cards & Inputs */
.option-card {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px; border: 1px solid #f0f0f0; border-radius: 10px;
    background: #fff; margin-bottom: 12px; transition: 0.2s;
}
.radio-label input { display: none; }
.radio-label input:checked + .option-card {
    border-color: var(--primary); background: #fffdf7;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.1);
}
.checkmark { width: 20px; height: 20px; border: 1px solid #ddd; border-radius: 50%; position: relative; }
.radio-label input:checked + .option-card .checkmark { background: var(--primary); border-color: var(--primary); }

/* Buttons */
.btn-primary {
    background: var(--primary); color: #fff; border: none; padding: 15px;
    width: 100%; border-radius: 50px; font-family: 'Playfair Display', serif;
    font-size: 1.1rem; cursor: pointer; box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* --- THE NEW FOOTER NAV --- */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    height: var(--nav-height); background: #fff;
    display: flex; justify-content: space-around; align-items: center;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05); z-index: 100;
    border-top: 1px solid #f5f5f5;
    max-width: 600px; margin: 0 auto; /* Keeps it centered on desktop */
}

.nav-item {
    text-decoration: none; color: #aaa; text-align: center;
    font-size: 0.75rem; flex: 1; padding: 10px;
}

.nav-item span { display: block; font-size: 1.5rem; margin-bottom: 2px; }
.nav-item.active { color: var(--primary); font-weight: bold; }

/* My Orders Table */
.order-history-card {
    border: 1px solid #eee; border-radius: 8px; padding: 15px; margin-bottom: 15px;
    background: #fafafa;
}
.status-badge {
    display: inline-block; padding: 4px 8px; border-radius: 4px;
    font-size: 0.7rem; font-weight: bold; letter-spacing: 0.5px;
    text-transform: uppercase;
}
.status-pending { background: #fff3cd; color: #856404; }
.status-completed { background: #d4edda; color: #155724; }

/* Add this to style.css */
/* --- ADD THIS TO STYLE.CSS FOR THE LOGIN INPUTS --- */

.input-field {
    width: 100%;
    padding: 18px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    font-family: 'Playfair Display', serif; /* Uses the fancy font */
    font-size: 1.1rem;
    text-align: center;
    background: #fafafa;
    box-sizing: border-box; /* Ensures padding doesn't break layout */
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
    transform: translateY(-2px);
}

.input-field::placeholder {
    color: #bdc3c7;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.login-footer {
    text-align: center;
    margin-top: 40px;
    color: #999;
    font-size: 0.8rem;
}

/* Day Selector (Segmented Control) */
.day-selector-container {
    margin-bottom: 25px;
}
.day-selector-label {
    text-align: center; font-size: 0.85rem; color: #999; margin-bottom: 8px; font-weight: bold; letter-spacing: 1px;
}
.day-selector {
    display: flex; background: #f0f0f0; border-radius: 12px; padding: 5px;
    position: relative;
}
.day-option-input { display: none; } /* Hide actual radio button */

.day-option-label {
    flex: 1; text-align: center; padding: 12px; cursor: pointer;
    border-radius: 8px; font-weight: bold; color: #888; transition: all 0.3s ease;
    font-size: 0.95rem;
}

/* When selected */
.day-option-input:checked + .day-option-label {
    background: #fff; color: var(--primary); 
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}