/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: url('Theme/building.jpg') center/cover no-repeat fixed;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    z-index: -1;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.logo-image {
    max-width: 300px;
    height: auto;
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.logo p {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    letter-spacing: 1px;
}

.logo p strong {
    font-weight: 700;
}

/* Event Preorder Link */
.event-preorder-link {
    margin-top: 20px;
    text-align: center;
}

.event-link {
    display: inline-block;
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    border: 2px solid rgba(101, 67, 33, 0.8);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.event-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.event-link:hover::before {
    left: 100%;
}

.event-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(139, 69, 19, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #a0522d 0%, #8b4513 100%);
    border-color: #654321;
}

.event-link strong {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    letter-spacing: 0.3px;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 40px;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 250, 250, 0.95) 100%);
    border-radius: 50px;
    padding: 15px 20px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(139, 69, 19, 0.15);
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.15);
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 25px;
    right: 25px;
    height: 3px;
    background: linear-gradient(90deg, rgba(139, 69, 19, 0.2) 0%, rgba(160, 82, 45, 0.2) 100%);
    z-index: 1;
    border-radius: 2px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    color: #8b4513;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    border: 2.5px solid #d2b48c;
    box-shadow: 0 3px 10px rgba(139, 69, 19, 0.15);
}

.step-label {
    font-size: 0.85rem;
    color: #555;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.progress-step.active .step-number {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.5);
    border: 3px solid #654321;
    transform: scale(1.1);
}

.progress-step.active .step-label {
    color: #8b4513;
    font-weight: 700;
}

.progress-step.completed .step-number {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #8b4513;
    border: 2.5px solid #bc9a6a;
    box-shadow: 0 3px 12px rgba(212, 175, 55, 0.3);
}

/* Main Content */
.main-content {
    flex: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 252, 255, 0.98) 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(139, 69, 19, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(210, 180, 140, 0.4);
}

.step-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.step-content.active {
    display: block;
}

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

.step-header {
    text-align: center;
    margin-bottom: 40px;
}

.step-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
}

.step-header p {
    color: #666;
    font-size: 1.1rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}

/* Forms */
.booking-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Party Composition Input */
.party-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.party-input-wrapper:hover {
    border-color: #8b4513;
}

.party-input-wrapper:focus-within,
.party-input-wrapper.active {
    border-color: #8b4513;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.party-input-icon {
    padding: 12px 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-right: 2px solid #e1e5e9;
    border-radius: 12px 0 0 12px;
}

.party-composition-input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 1rem;
    background: transparent;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    color: #333;
}

.party-composition-input:focus {
    outline: none;
}

.party-composition-input::placeholder {
    color: #999;
}

.party-input-arrow {
    padding: 12px 15px;
    color: #666;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.party-input-wrapper.active .party-input-arrow {
    transform: rotate(180deg);
}

/* Party Selector Popup */
.party-selector-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.party-selector-popup.active {
    display: flex;
}

.party-popup-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.party-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 2px solid #e9ecef;
}

.party-popup-header h3 {
    font-size: 1.5rem;
    color: #333;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin: 0;
}

.party-popup-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 1;
}

.party-popup-close:hover {
    background: #f8f9fa;
    color: #333;
}

.party-selector-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    padding: 25px;
}

.party-selector {
    display: flex;
    flex-direction: column;
}

.party-selector label {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0.3px;
}

.selector-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 0;
    transition: all 0.3s ease;
}

.selector-wrapper:focus-within {
    border-color: #8b4513;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.selector-icon {
    padding: 12px 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-right: 2px solid #e1e5e9;
    border-radius: 12px 0 0 12px;
}

.selector-wrapper select {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 1rem;
    background: transparent;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    color: #333;
}

.selector-wrapper select:focus {
    outline: none;
}

.selector-helper {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

.party-popup-footer {
    padding: 20px 25px;
    border-top: 2px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
}

.party-popup-footer .btn {
    min-width: 100px;
}

@media (max-width: 768px) {
    .party-selector-group {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .party-popup-content {
        width: 95%;
        max-height: 85vh;
    }
}

/* Form Section */
.form-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.form-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Large Party Notice */
.large-party-notice {
    margin: 30px 0;
}

.notice-box {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #ff6b6b;
}

.notice-box h3 {
    color: #d63031;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.notice-box p {
    color: #2d3436;
    line-height: 1.6;
}

/* Menu Selection */
.menu-selection {
    max-width: 700px;
    margin: 0 auto;
}

.person-menu {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 2px solid #e9ecef;
}

.person-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.person-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    margin-right: 15px;
}

.person-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0.3px;
    margin-right: 15px;
}

.person-name-input {
    flex: 1;
    max-width: 250px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: 'Cormorant Garamond', serif;
    color: #333;
    transition: border-color 0.3s ease;
}

.person-name-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.person-name-input::placeholder {
    color: #999;
    font-style: italic;
}

.menu-categories {
    display: grid;
    gap: 20px;
}

.category {
    background: white;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e1e5e9;
}

.category-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 1rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.3px;
}

.menu-items {
    display: grid;
    gap: 10px;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.menu-item:hover {
    background: #f8f9fa;
}

.menu-item input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.menu-item label {
    flex: 1;
    cursor: pointer;
    margin: 0;
    font-weight: 400;
}

.menu-item .price {
    color: #666;
    font-weight: 500;
}

/* Menu Info Card */
.menu-info {
    max-width: 800px;
    margin: 20px auto;
}

/* Available Menus List (for multiple menu selection) */
.available-menus-list {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.menu-option-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 248, 255, 0.95) 100%);
    border: 3px solid #d2b48c;
    border-radius: 15px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.menu-option-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.2);
    border-color: #8b4513;
}

.menu-option-card.selected {
    border-color: #8b4513;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(160, 82, 45, 0.1) 100%);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
}

.menu-option-card.selected::before {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: #8b4513;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

.menu-option-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    color: #8b4513;
    margin-bottom: 10px;
    font-weight: 600;
}

.menu-option-card p {
    color: #666;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 8px;
}

.menu-option-card .menu-schedule-info {
    color: #8b4513;
    font-weight: 500;
    font-size: 1em;
    margin-top: 10px;
}

.menu-info-card {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(160, 82, 45, 0.1) 100%);
    border: 2px solid rgba(139, 69, 19, 0.2);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.1);
}

.menu-info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #8b4513;
    margin-bottom: 10px;
    font-weight: 600;
}

.menu-info-card p {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

/* Event Menu Selection */
.event-menu-selection {
    max-width: 800px;
    margin: 30px auto;
}

/* Buffet Items Container */
.buffet-items-container {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e9ecef;
}

.buffet-items-container .form-group {
    margin-bottom: 20px;
}

.buffet-items-container .form-group:last-child {
    margin-bottom: 0;
}

.event-menu-grid {
    display: grid;
    gap: 20px;
}

.event-category {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #e9ecef;
}

.event-category-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.3px;
}

.event-category-title::before {
    content: "🍽️";
    font-size: 1.5rem;
}

.event-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.event-item {
    background: white;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e1e5e9;
    transition: all 0.2s ease;
}

.event-item:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.event-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.event-item-name {
    font-weight: 600;
    color: #333;
    flex: 1;
}

.event-item-price {
    color: #667eea;
    font-weight: 600;
    font-size: 1.1rem;
}

.event-item-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.event-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: #f8f9fa;
    border-color: #667eea;
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    font-weight: 600;
}

.event-total {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-top: 30px;
    text-align: center;
}

.event-total h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.event-total-amount {
    font-size: 2rem;
    font-weight: 700;
}

/* Buttons */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    gap: 20px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.btn-primary {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: #f5f5dc;
    border: 1px solid #654321;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4);
    background: linear-gradient(135deg, #a0522d 0%, #8b4513 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, #d2b48c 0%, #deb887 100%);
    color: #8b4513;
    border: 1px solid #bc9a6a;
    box-shadow: 0 4px 15px rgba(210, 180, 140, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #deb887 0%, #d2b48c 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(210, 180, 140, 0.4);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Checkbox Styling */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

/* Toggle Switch Styling */
.preorder-toggle {
    display: flex;
    align-items: center;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-right: 15px;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #4CAF50;
}

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

.toggle-label {
    font-weight: 500;
    color: #2d3436;
    font-size: 1rem;
}

.preorder-info {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
}

.preorder-info p {
    margin-bottom: 10px;
    font-weight: 600;
    color: #2d3436;
}

.preorder-info ul {
    margin: 0;
    padding-left: 20px;
}

.preorder-info li {
    margin-bottom: 5px;
    color: #2d3436;
}

/* Confirmation */
.confirmation-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
}

.confirmation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.confirmation-item:last-child {
    border-bottom: none;
}

.confirmation-label {
    font-weight: 500;
    color: #333;
}

.confirmation-value {
    color: #666;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1000;
    color: white;
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.modal-content h3 {
    color: #d63031;
    margin-bottom: 15px;
}

.modal-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .main-content {
        padding: 20px;
        border-radius: 15px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .progress-step .step-label {
        font-size: 0.7rem;
    }
    
    .step-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .progress-bar {
        padding: 5px;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .step-label {
        font-size: 0.6rem;
    }
    
    .preorder-toggle {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .toggle-switch {
        margin-right: 0;
    }
    
    .toggle-label {
        font-size: 0.9rem;
    }
}

/* Course Selection Dropdowns */
.course-selection {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.course-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.course-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.course-group select {
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: #333;
    transition: border-color 0.3s ease;
}

.course-group select:focus {
    outline: none;
    border-color: #752f15;
    box-shadow: 0 0 0 3px rgba(117, 47, 21, 0.1);
}

.course-group select option {
    padding: 5px;
}