/*==================================================
PAGE LAYOUT & CONTAINER
==================================================*/
.glass-card a{
    color: #f59e0b !important;
}
.register-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 40px 0;
}

/*==================================================
HERO & GLASS CARD
==================================================*/

.hero-badge {
    background: rgba(217, 119, 6, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    letter-spacing: 1px;
    font-size: 0.75rem;
}

.glass-card {
    /* background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-radius: 1.25rem; */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.feature-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem;
}

/*==================================================
LEFT PANEL & TYPOGRAPHY
==================================================*/

.register-form {
    padding: 11%;
    background-color: #111827;
}

.register-form h2 {
    font-weight: 700;
    color: #ffffff;
}

.register-form p {
    color: #6b7280;
}

.form-label {
    font-weight: 600;
    color: #cacaca;
    margin-bottom: 8px;
}

.style-tiny {
    font-size: 0.8rem;
}

.text-danger {
    font-size: 13px;
}

small {
    color: #6c757d;
}

/*==================================================
INPUT GROUPS & CONTROLS
==================================================*/

.custom-input-group .input-group-text {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    width: 55px;
    justify-content: center;
}

.custom-input-group .form-control {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    border-left: none;
    color: #ffffff;
    height: 54px;
    font-size: 15px;
    box-shadow: none;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.custom-input-group .form-control:focus {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: #f59e0b;
    box-shadow: 0 0 0 0.25rem rgba(245, 158, 11, 0.15);
    color: #ffffff;
}

.custom-input-group:focus-within .input-group-text {
    border-color: #f59e0b !important;
}

/*==================================================
CHECKBOX
==================================================*/

.form-check-input:checked {
    background: #ffc107;
    border-color: #ffc107;
}

/*==================================================
BUTTON STATES & VISIBILITY FIX
==================================================*/
/* 1. Base Active Gold State (When enabled but before complete validation, or default active state) */
.btn-gold-r {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 54px;
    padding: 0 20px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    border: none !important;
    color: #000000 !important;
}

/* Hover State for Enabled Gold Button */
.btn-gold-r:hover:not(:disabled) {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    color: #000000 !important;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3) !important;
    transform: translateY(-1px);
}

/* 2. Disabled State (When Form is Incomplete - Subtle Gray) */
.btn-gold-r:disabled {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    cursor: not-allowed;
    opacity: 0.7 !important;
    box-shadow: none !important;
    transform: none !important;
}

/* 3. Fully Completed Form State (Turns Green when .btn-valid is added by JS) */
.btn-gold-r.btn-valid {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35) !important;
    opacity: 1 !important;
    cursor: pointer !important;
}

.btn-gold-r.btn-valid:hover:not(:disabled) {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.45) !important;
    transform: translateY(-1px);
}

/* 4. Loading State (When submitted) */
.btn-gold-r.btn-loading {
    opacity: 0.9 !important;
    cursor: wait !important;
}

/* Keeps the green background and aligns the loading spinner */
.btn-gold-r.btn-valid.btn-loading {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    opacity: 0.9 !important;
    cursor: wait !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Spinner icon styling inside green button */
.btn-gold-r.btn-valid .spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
    color: #ffffff;
}

/*==================================================
RIGHT PANEL
==================================================*/

.right-panel {
    background: linear-gradient(135deg, #162032, #0b111c);
    position: relative;
}

.right-panel h2 {
    font-weight: 700;
}

.right-panel p {
    line-height: 1.8;
}

.right-panel::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 193, 7, .40), rgba(255, 193, 7, .12), transparent 70%);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    filter: blur(20px);
}

/*==================================================
ALERTS & RESPONSIVE
==================================================*/

.alert {
    border-radius: 10px;
    font-size: 14px;
}

@media(max-width:991px) {
    .register-form {
        padding: 35px;
    }
}

@media(max-width:767px) {

    .pe-lg-3 {
        display: none !important;
    }

    .register-page {
        padding: 20px 0;
    }

    .register-form {
        padding: 25px;
    }

    .register-card {
        border-radius: 15px;
    }

    .custom-input-group .form-control,
    .custom-input-group .input-group-text,
    .btn-gold {
        height: 48px;
    }
}

/* Maintain green background and visibility while loading */
.btn-gold.btn-valid.btn-loading,
.btn-warning.btn-valid.btn-loading {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    opacity: 0.9 !important;
    cursor: wait !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .pe-lg-3 {
        display: none !important;
    }
}

@media  (max-width: 575.98px) {
.Registration-left{
    padding: 16px;
}
}