/* Registration Form Styling */
.registration-centerbox {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.registration-centerbox h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #1f2937;
    font-size: 24px;
    font-weight: 600;
}

.mandatory-note {
    text-align: center;
    color: #6366f1;
    margin-bottom: 25px;
    font-weight: 500;
}

.registration-centerbox label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 500;
}

.registration-centerbox .txt_box,
.registration-centerbox textarea,
.registration-centerbox select {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.registration-centerbox .txt_box:focus,
.registration-centerbox textarea:focus,
.registration-centerbox select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.registration-centerbox textarea {
    resize: vertical;
    min-height: 80px;
}

.registration-centerbox .button_box {
    width: 100%;
    padding: 12px 20px;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 15px;
}

.registration-centerbox .button_box:hover {
    background: #5856eb;
}

.or-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
    color: #6b7280;
}

.or-divider:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
    z-index: 1;
}

.or-divider:after {
    content: 'OR';
    background: white;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.google-signin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    background: #ffffff;
    color: #374151;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.google-signin-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.google-icon-circle {
    margin-right: 12px;
}

.google-icon-svg {
    width: 20px;
    height: 20px;
}

.verified {
    color: #059669;
    font-weight: 600;
}

.not-verified {
    color: #dc2626;
    font-weight: 600;
}

/* reCAPTCHA container */
.g-recaptcha {
    margin: 20px 0;
    transform: scale(0.9);
    transform-origin: 0 0;
}

/* Success/Error Messages */
.success-msg {
    background: #d1fae5;
    color: #065f46;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid #10b981;
}

.error-msg {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid #ef4444;
}

/* Checkbox styling for step 4 */
input[type="checkbox"] {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Date selection styling */
.date-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.date-row select {
    flex: 1;
    margin-bottom: 0;
}

/* Step indicator */
.step-indicator {
    text-align: center;
    margin-top: 20px;
}

.step-indicator small {
    color: #6b7280;
    font-weight: 500;
}

/* Progress bar for steps */
.progress-bar {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    margin: 20px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #6366f1;
    transition: width 0.3s ease;
}

.progress-fill.step-1 { width: 20%; }
.progress-fill.step-2 { width: 40%; }
.progress-fill.step-3 { width: 60%; }
.progress-fill.step-4 { width: 80%; }
.progress-fill.step-5 { width: 100%; }

/* Summary cards in step 5 */
.summary-card {
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #6366f1;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 10px 0;
}

.summary-item {
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

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

/* Payment buttons */
.payment-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.payment-buttons .button_box {
    width: auto;
    min-width: 180px;
    padding: 15px 25px;
}

/* Responsive Design */
@media (max-width: 600px) {
    .registration-centerbox {
        margin: 20px;
        padding: 20px;
    }
    
    .g-recaptcha {
        transform: scale(0.85);
    }
    
    .date-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .payment-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .payment-buttons .button_box {
        width: 100%;
        max-width: 300px;
    }
}

/* Form validation error styling */
.txt_box.error,
textarea.error,
select.error {
    border-color: #dc2626;
    background-color: #fef2f2;
}

/* Loading state */
.button_box:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.button_box.loading {
    position: relative;
}

.button_box.loading:after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s ease infinite;
}

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

/* Step 5 Button Row */
.step5-button-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
}

@media (min-width: 500px) {
    .step5-button-row {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
}

.button_box {
    width: 100%;
    box-sizing: border-box;
    display: block;
    text-align: center;
    padding: 14px 0;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    margin: 0;
} 