/* IACT Assessment Registration Form Styles */

/* Form Step Visibility */
.form-step {
    display: none;
}
.form-step.active {
    display: block;
}

/* Timer Style */
.timer {
    font-family: 'Courier New', monospace;
}

/* Form Validation Styling */
.input-error {
    border-color: #f56565;
}
.error-message {
    color: #f56565;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: none;
}

/* Animation Effects */
.progress-bar {
    transition: width 0.3s ease;
}
.flash {
    animation: flash 1s;
}
@keyframes flash {
    0% { background-color: rgba(255, 0, 0, 0.2); }
    100% { background-color: transparent; }
}

/* Razorpay Button Override */
.razorpay-payment-button {
    display: none !important;
}

/* Custom Header Styles */
.header-gradient {
    background-image: linear-gradient(to right, #1e40af, #3b82f6);
}

/* Summary Box Styles */
.summary-box {
    background-color: #eff6ff;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}
.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}
.summary-label {
    font-weight: 500;
}

/* Payment Info Box */
.payment-info {
    background-color: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

/* Success Message Styles */
.success-container {
    background-color: #f0fdf4;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
}
.success-icon {
    color: #22c55e;
    margin: 0 auto 1rem auto;
    height: 3rem;
    width: 3rem;
}
.transaction-detail {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    .form-container {
        padding: 1rem;
    }
    .form-section {
        padding: 0.75rem;
    }
    .button-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    .button-container button {
        width: 100%;
    }
}

/* Button Styles */
.btn {
    display: inline-flex;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.btn-primary {
    background-color: #1e40af;
    color: white;
}
.btn-primary:hover {
    background-color: #1e3a8a;
}
.btn-secondary {
    background-color: #e5e7eb;
    color: #374151;
}
.btn-secondary:hover {
    background-color: #d1d5db;
}
.btn-success {
    background-color: #16a34a;
    color: white;
}
.btn-success:hover {
    background-color: #15803d;
}