/* ============================
   Kongre Kayıt Sistemi - Ana CSS
   Modern, premium tasarım
   ============================ */

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

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #eef2ff;
    --primary-50: #f5f3ff;
    --success: #059669;
    --success-light: #ecfdf5;
    --warning: #ea580c;
    --warning-light: #fff7ed;
    --danger: #dc2626;
    --danger-light: #fef2f2;
    --purple: #7c3aed;
    --purple-light: #f5f3ff;
    
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    --section-green: linear-gradient(135deg, #059669, #10b981);
    --section-orange: linear-gradient(135deg, #ea580c, #f97316);
    --section-purple: linear-gradient(135deg, #7c3aed, #8b5cf6);
    --section-blue: linear-gradient(135deg, #4f46e5, #6366f1);
    
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.06), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.06), 0 8px 10px -6px rgba(0,0,0,0.03);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.15);
    
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f8f9fc;
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Homepage Styles --- */
.homepage {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.homepage-header {
    text-align: center;
    padding: 60px 20px 40px;
}

.header-logo {
    margin-bottom: 16px;
}

.site-logo {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
    transition: var(--transition);
}

.site-logo:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 6px 20px rgba(0,0,0,0.4));
}

.homepage-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.homepage-header p {
    color: var(--gray-400);
    font-size: 1.1rem;
}

.events-grid {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 60px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.event-card {
    background: var(--gray-800);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(96,165,250,0.3);
}

.event-card-banner {
    height: 8px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
}

.event-card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-card-body h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 16px;
    line-height: 1.4;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    flex: 1;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--gray-400);
}

.event-meta-item .icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.event-card-footer {
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    flex: 1;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--gray-400);
    border: 1px solid var(--gray-600);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    color: var(--gray-200);
}

.no-events {
    text-align: center;
    padding: 80px 20px;
    color: var(--gray-400);
    grid-column: 1 / -1;
}

.no-events .icon {
    font-size: 4rem;
    margin-bottom: 16px;
    display: block;
}

/* ======================================
   Registration Form Page — Premium Light
   ====================================== */
.register-page {
    background: linear-gradient(180deg, #f0f4ff 0%, #f8f9fc 40%, #ffffff 100%);
    min-height: 100vh;
    padding-bottom: 80px;
    position: relative;
}

.register-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 380px;
    background: linear-gradient(135deg, #eef2ff 0%, #faf5ff 50%, #ecfdf5 100%);
    z-index: 0;
    pointer-events: none;
}

/* --- Form Header --- */
.form-header {
    position: relative;
    z-index: 1;
    padding: 48px 20px 40px;
    text-align: center;
    margin-bottom: 40px;
}

.form-header::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.06) 0%, transparent 60%);
    pointer-events: none;
    animation: pulse-bg 8s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.6; }
    50% { transform: translateX(-50%) scale(1.15); opacity: 1; }
}

.form-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.025em;
}

.form-header .subtitle {
    color: var(--gray-500);
    font-size: 1.05rem;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.form-container {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* --- Form Sections --- */
.form-section {
    background: white;
    border-radius: var(--radius-lg);
    margin-bottom: 28px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 30px rgba(0,0,0,0.04);
    overflow: hidden;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    border: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition);
}

.form-section:hover {
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 12px 40px rgba(0,0,0,0.07);
}

.form-section:nth-child(1) { animation-delay: 0.05s; }
.form-section:nth-child(2) { animation-delay: 0.1s; }
.form-section:nth-child(3) { animation-delay: 0.15s; }
.form-section:nth-child(4) { animation-delay: 0.2s; }
.form-section:nth-child(5) { animation-delay: 0.25s; }
.form-section:nth-child(6) { animation-delay: 0.3s; }

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

/* --- Section Headers — Minimal & Elegant --- */
.section-header {
    padding: 18px 28px;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header::before {
    content: '';
    width: 4px;
    height: 22px;
    border-radius: 4px;
    flex-shrink: 0;
}

.section-header.green  { color: #047857; background: linear-gradient(90deg, #ecfdf5, white); }
.section-header.green::before  { background: linear-gradient(180deg, #059669, #34d399); }

.section-header.orange { color: #c2410c; background: linear-gradient(90deg, #fff7ed, white); }
.section-header.orange::before { background: linear-gradient(180deg, #ea580c, #fb923c); }

.section-header.purple { color: #6d28d9; background: linear-gradient(90deg, #f5f3ff, white); }
.section-header.purple::before { background: linear-gradient(180deg, #7c3aed, #a78bfa); }

.section-header.blue   { color: #4338ca; background: linear-gradient(90deg, #eef2ff, white); }
.section-header.blue::before   { background: linear-gradient(180deg, #4f46e5, #818cf8); }

.section-header.dark   { color: var(--gray-700); background: linear-gradient(90deg, var(--gray-50), white); }
.section-header.dark::before   { background: linear-gradient(180deg, var(--gray-600), var(--gray-400)); }

.section-header.teal   { color: #0f766e; background: linear-gradient(90deg, #f0fdfa, white); }
.section-header.teal::before   { background: linear-gradient(180deg, #0d9488, #5eead4); }

/* --- Summary Box --- */
.summary-box {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--gray-200);
}

.summary-empty {
    text-align: center;
    padding: 20px;
    color: var(--gray-400);
}

.summary-empty p {
    margin-top: 8px;
    font-size: 0.9rem;
}

.summary-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    transition: var(--transition-fast);
}

.summary-row:hover {
    border-color: var(--gray-300);
}

.summary-row .summary-label {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.summary-row .summary-label .category-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    margin-right: 8px;
    color: white;
    letter-spacing: 0.02em;
}

.category-tag.kayit { background: linear-gradient(135deg, #ea580c, #f97316); }
.category-tag.konaklama { background: linear-gradient(135deg, #4f46e5, #6366f1); }
.category-tag.kayit_konaklama { background: linear-gradient(135deg, #059669, #34d399); }

.summary-row .summary-value {
    font-weight: 700;
    font-size: 1rem;
    color: var(--gray-800);
    white-space: nowrap;
}

.summary-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
    margin: 16px 0;
}

.summary-totals {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: var(--gray-900);
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
}

.summary-total-row:first-child {
    border-radius: 10px 10px 0 0;
}

.summary-total-row:last-child {
    border-radius: 0 0 10px 10px;
    border-bottom: none;
}

.summary-total-row:only-child {
    border-radius: 10px;
}

.summary-total-row .total-label {
    font-size: 0.95rem;
    font-weight: 600;
}

.summary-total-row .total-value {
    font-size: 1.2rem;
    font-weight: 800;
    white-space: nowrap;
}

.summary-conversion-row {
    background: #2a2f3a !important;
    padding: 10px 18px !important;
    border-top: 1px dashed rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.summary-foreign-block {
    margin-top: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.summary-foreign-block .summary-total-row {
    background: #2c3140;
}

.summary-foreign-block .summary-conversion-row {
    background: #252933 !important;
}

.summary-grand-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    margin-top: 10px;
    background: linear-gradient(135deg, #065f46, #047857);
    border-radius: 10px;
    color: white;
}

.summary-grand-total .total-label {
    font-size: 1rem;
    font-weight: 700;
}

.summary-grand-total .total-value {
    font-size: 1.3rem;
    font-weight: 800;
    white-space: nowrap;
}

.extra-field-label {
    display: block;
    font-size: 0.78rem;
    color: var(--gray-500);
    margin-bottom: 6px;
    font-style: italic;
}

.section-body {
    padding: 28px;
}

/* --- Form Fields --- */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-600);
    letter-spacing: 0.01em;
}

.form-group label .required {
    color: var(--danger);
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--gray-800);
    transition: var(--transition);
    background: white;
    outline: none;
}

.form-control::placeholder {
    color: var(--gray-400);
}

.form-control:hover {
    border-color: var(--gray-300);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.08);
}

.form-control.error {
    border-color: var(--danger);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.06);
}

.form-control.success {
    border-color: var(--success);
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.field-error {
    font-size: 0.78rem;
    color: var(--danger);
    display: none;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.field-error.show {
    display: flex;
}

.required-note {
    padding: 12px 0 0;
    font-size: 0.8rem;
    color: var(--danger);
}

/* --- Phone Field --- */
.phone-wrapper {
    display: flex;
    gap: 8px;
}

.phone-code-select {
    width: 140px;
    min-width: 140px;
    padding: 12px 10px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.85rem;
    color: var(--gray-800);
    background: white;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

.phone-code-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.08);
}

.phone-number-input {
    flex: 1;
}

/* --- Package Selection --- */
.package-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.package-item {
    display: flex;
    align-items: flex-start;
    padding: 18px 22px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    background: transparent;
}

.package-item:hover {
    background: var(--gray-50);
    border-color: var(--gray-200);
}

.package-item.selected {
    background: var(--primary-50);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.06);
}

.package-item input[type="radio"] {
    margin-top: 3px;
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.package-info {
    flex: 1;
    margin-left: 14px;
}

.package-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray-800);
}

.package-description {
    font-size: 0.82rem;
    color: var(--gray-500);
    margin-top: 4px;
    font-style: italic;
}

.package-extra-field {
    margin-top: 10px;
    display: none;
}

.package-extra-field.show {
    display: block;
}

.package-extra-field input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    transition: var(--transition);
    outline: none;
}

.package-extra-field input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.08);
}

.package-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gray-800);
    background: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center;
    border: 1.5px solid var(--gray-200);
    box-shadow: var(--shadow-xs);
}

.package-price .tax-label {
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--gray-500);
    display: block;
    text-align: right;
    letter-spacing: 0.02em;
}

/* --- Payment Section --- */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.payment-option {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    transition: var(--transition);
    background: white;
    overflow: hidden;
}

.payment-option:hover {
    border-color: var(--gray-300);
}

.payment-option.selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.06);
}

.payment-option-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    cursor: pointer;
    transition: var(--transition);
}

.payment-option-header:hover {
    background: var(--gray-50);
}

.payment-option-header input[type="radio"] {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.payment-option-header .label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.payment-option-body {
    padding: 0 22px 22px;
    display: none;
}

.payment-option-body.show {
    display: block;
}

/* Bank Info */
.bank-accounts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bank-card {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--gray-200);
}

.bank-card .bank-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--success);
    margin-bottom: 12px;
}

.bank-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 0.85rem;
}

.bank-details .detail-row {
    display: flex;
    gap: 6px;
}

.bank-details .detail-label {
    font-weight: 700;
    color: var(--gray-700);
    white-space: nowrap;
}

.bank-details .detail-value {
    color: var(--gray-600);
}

.iban-display {
    margin-top: 14px;
    padding: 12px 20px;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.iban-display.eur {
    background: white;
    color: var(--purple);
    border: 2px solid var(--purple);
}

.iban-display.try {
    background: var(--success);
    color: white;
}

.iban-display.usd {
    background: var(--primary);
    color: white;
}

/* Credit Card Form */
.credit-card-form {
    max-width: 600px;
    margin: 0 auto;
}

.cc-ssl-badge {
    text-align: center;
    margin-bottom: 20px;
    padding: 12px;
    background: var(--success-light);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--success);
    font-weight: 500;
    border: 1px solid rgba(5, 150, 105, 0.1);
}

.cc-ssl-badge .icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 4px;
}

.cc-field-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
}

.cc-field-row:last-child {
    border-bottom: none;
}

.cc-field-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray-600);
    min-width: 160px;
}

.cc-field-inputs {
    flex: 1;
    display: flex;
    gap: 8px;
}

.cc-field-inputs input,
.cc-field-inputs select {
    flex: 1;
    padding: 10px 12px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
    background: white;
}

.cc-field-inputs input:focus,
.cc-field-inputs select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.08);
}

.cc-field-inputs .card-number-part {
    max-width: 80px;
    text-align: center;
    letter-spacing: 2px;
}

.cc-field-inputs .cvc-input {
    max-width: 100px;
}

/* --- Terms & Submit --- */
.form-footer {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    margin-bottom: 24px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 30px rgba(0,0,0,0.04);
}

.terms-check {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
    cursor: pointer;
}

.terms-check input[type="checkbox"] {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.terms-check label {
    color: var(--gray-600);
    font-size: 0.9rem;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-submit {
    background: var(--primary);
    color: white;
    padding: 15px 48px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius);
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.btn-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: 0.5s;
}

.btn-submit:hover:not(:disabled)::after {
    left: 100%;
}

.btn-submit:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.35);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-reset {
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 15px 28px;
    border: 1px solid var(--gray-200);
}

.btn-reset:hover {
    background: var(--gray-200);
    color: var(--gray-700);
}

/* --- Loading / Spinner --- */
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s ease infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Toast Notifications --- */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 14px 20px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    box-shadow: var(--shadow-lg);
    animation: slideInRight 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 400px;
}

.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
.toast.warning { background: var(--warning); }

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* --- Success Page --- */
.success-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #f0f4ff, #f8f9fc, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.success-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 50px;
    text-align: center;
    max-width: 550px;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 20px 60px rgba(0,0,0,0.06);
    animation: scaleIn 0.5s ease;
    border: 1px solid rgba(0,0,0,0.06);
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.success-card .check-icon {
    width: 80px;
    height: 80px;
    background: var(--success-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 24px;
    animation: bounceIn 0.6s ease 0.3s both;
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.success-card h1 {
    font-size: 1.6rem;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.success-card p {
    color: var(--gray-500);
    margin-bottom: 8px;
}

.success-card .reg-number {
    font-family: 'Inter', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    padding: 10px 20px;
    border-radius: var(--radius);
    display: inline-block;
    margin: 16px 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-header h1 {
        font-size: 1.4rem;
    }
    
    .register-page::before {
        height: 260px;
    }
    
    .package-item {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .package-price {
        margin-left: 32px;
    }
    
    .bank-details {
        grid-template-columns: 1fr;
    }
    
    .cc-field-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cc-field-label {
        min-width: auto;
    }
    
    .cc-field-inputs .card-number-part {
        max-width: none;
    }

    .phone-wrapper {
        flex-direction: column;
    }
    
    .phone-code-select {
        width: 100%;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .homepage-header h1 {
        font-size: 1.8rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .section-body {
        padding: 22px;
    }
}

@media (max-width: 480px) {
    .section-body {
        padding: 18px;
    }
    
    .package-item {
        padding: 14px;
    }
    
    .form-header {
        padding: 32px 16px 28px;
    }
}
