* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #fdf6f0 0%, #f5e6d3 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
}

.registration-container {
    max-width: 820px;
    width: 100%;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 45px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 107, 0, 0.15);
    transition: all 0.3s ease;
}

@media (max-width: 600px) {
    .registration-container {
        padding: 25px 18px;
    }
}

.logo-container {
    text-align: center;
    margin: 0 auto 18px;
}

.org-logo {
    display: block;
    width: 90px;
    height: 90px;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 50%;
    border: 3px solid #FF6B00;
    padding: 4px;
}

.form-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.form-title i {
    color: #FF6B00;
}

.form-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 30px;
    border-bottom: 2px dashed #f1e0d4;
    padding-bottom: 18px;
}

.form-subtitle span {
    background: #fff5ee;
    padding: 4px 14px;
    border-radius: 30px;
    color: #FF6B00;
    font-weight: 600;
}

.required {
    color: #dc2626;
    font-weight: 700;
    margin-left: 2px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 25px;
}

@media (max-width: 650px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.full-width {
    grid-column: 1 / -1;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

label i {
    color: #FF6B00;
    margin-right: 4px;
}

input,
select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.25s ease;
    background: #fafbfc;
    color: #1e293b;
}

input:focus,
select:focus {
    outline: none;
    border-color: #FF6B00;
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.12);
    background: #ffffff;
}

input::placeholder {
    color: #94a3b8;
    font-size: 13px;
}

.form-hint {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
    transition: all 0.2s;
}

.form-hint i {
    font-size: 11px;
}

.optional-badge {
    font-weight: 400;
    font-size: 12px;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 2px 10px;
    border-radius: 20px;
    margin-left: 6px;
}

.payment-breakup {
    background: linear-gradient(135deg, #fff9f0, #fef3e8);
    border: 2px solid #fde3cc;
    border-radius: 14px;
    padding: 18px 22px;
    margin: 10px 0 18px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.payment-breakup .total {
    font-size: 22px;
    font-weight: 800;
    color: #FF6B00;
}

.payment-breakup .total small {
    font-size: 14px;
    font-weight: 400;
    color: #64748b;
}

.payment-breakup .details {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #475569;
}

.payment-breakup .details span {
    background: white;
    padding: 4px 14px;
    border-radius: 30px;
    border: 1px solid #fde3cc;
}

.payment-breakup .details i {
    color: #FF6B00;
}

@media (max-width: 500px) {
    .payment-breakup {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        text-align: center;
    }

    .payment-breakup .details {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
}

.file-upload-container {
    margin-top: 4px;
}

.file-upload-label {
    display: inline-block;
    font-weight: 600;
    font-size: 14px;
    color: #334155;
    margin-bottom: 6px;
    cursor: pointer;
}

.file-upload-label i {
    color: #FF6B00;
    margin-right: 6px;
}

input[type="file"] {
    padding: 10px 12px;
    background: #f8fafc;
    border: 2px dashed #d1d9e6;
    cursor: pointer;
}

input[type="file"]:hover {
    border-color: #FF6B00;
    background: #fffbf7;
}

.file-preview {
    margin-top: 8px;
}

.file-preview img {
    max-width: 90px;
    max-height: 90px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    object-fit: cover;
}

.terms-container {
    background: #f8fafc;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #334155;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 1px;
    accent-color: #FF6B00;
    cursor: pointer;
}

.checkbox-label a {
    color: #FF6B00;
    text-decoration: none;
    font-weight: 600;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.submit-btn {
    grid-column: 1 / -1;
    padding: 16px 28px;
    background: linear-gradient(135deg, #FF6B00, #e85d00);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.35);
    margin-top: 8px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255, 107, 0, 0.45);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-btn i {
    font-size: 20px;
}

.error-message,
.success-message {
    padding: 14px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.success-message {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.error-message i,
.success-message i {
    font-size: 20px;
}

.login-link {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 14px;
    color: #64748b;
    margin-top: 8px;
}

.login-link a {
    color: #FF6B00;
    font-weight: 600;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

.is-hidden {
    display: none !important;
}

.honeypot-field {
    display: none !important;
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.hint-success {
    color: #16a34a;
}

.hint-error {
    color: #dc2626;
}

.hint-warning {
    color: #f59e0b;
}

.field-error-border {
    border-color: #dc2626 !important;
}

.field-success-border {
    border-color: #16a34a !important;
}

.field-warning-border {
    border-color: #f59e0b !important;
}

@media (max-width: 480px) {
    .form-title {
        font-size: 22px;
    }

    .payment-breakup .total {
        font-size: 18px;
    }

    .payment-breakup .details {
        font-size: 12px;
    }
}