* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* .customer_register {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}
@media (max-width: 576px) {
    .customer_register {
        padding: 10px; 
        background-attachment: scroll !important; 
        background-position: center top; 
    }
} */

/* पुराने .customer_register को हटाकर इसे उसकी जगह पेस्ट करें */
.customer_register {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

/* मोबाइल के लिए स्पेशल सेटिंग */
@media(max-width:768px) {
    .customer_register {
        padding: 10px;
        background-attachment: scroll !important; /* मोबाइल पर फिक्स बैकग्राउंड लैग करता है इसलिए scroll */
        background-position: center top;
    }
}

.reg-container {
    background: rgba(255, 255, 255, 0.18); 
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px); 
    width: 100%;
    max-width: 400px;
    height: 500px;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-top: 5px solid #0284c7;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.2),
        0 10px 20px rgba(2, 132, 199, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.4);        
    overflow-y: auto;
    overflow-x: hidden;
    transition: .35s;
}

.reg-container:hover {
    transform: translateY(-4px);
    box-shadow:
        0 35px 60px rgba(0,0,0,.22),
        0 15px 25px rgba(2,132,199,.18);
}

.reg-container::-webkit-scrollbar {
    width: 8px;
}

.reg-container::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 20px;
}

.reg-container::-webkit-scrollbar-thumb {
    background: linear-gradient(#0284c7, #0369a1);
    border-radius: 20px;
}

.reg-container::-webkit-scrollbar-thumb:hover {
    background: #0369a1;
}

.reg-container img {
    max-width: 80px;
    height: auto;
}

.reg-container h3 {
    text-align: center;
    margin-bottom: 5px;
    color: #000;
}

.customer_head {
    text-align: center;
    color: #0f172a;
    margin-top: 5px;
    margin-bottom: 8px;
    font-size: 18px;
}

.customer_para {
    text-align: center;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 8px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.form-group input:not([type="checkbox"]),
.form-group select {
    width: 100%;
    height: 42px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.4); 
    border-radius: 5px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: .3s;
    background: rgba(255, 255, 255, 0.45); 
    color: #0f172a; 
}

.form-group input::placeholder {
    color: #475569;
    opacity: 0.9;
}

.form-group input:not([type="checkbox"]):focus,
.form-group select:focus {
    border-color: #0284c7;
}

.row {
    display: flex;
    gap: 12px;
}

.row .form-group {
    flex: 1;
}

.password-box {
    position: relative;
    width: 100%;
}

.password-box input {
    padding-right: 45px;
}

.eye-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 17px;
    color: #666;
    user-select: none;
}

.eye-btn:hover {
    color: #0284c7;
}

.terms-box,
.privacy-box {
    margin-top: 8px;
    margin-bottom: 8px;
}

.terms-label,
.privacy-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    line-height: 20px;
}

.terms_checkbox,
.privacy_checkbox {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    margin: 0;
    padding: 0;
    accent-color: #0284c7;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0.85; 
}

.condition_link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
}

.condition_link:hover {
    text-decoration: underline;
}

.btn-register {
    width: 100%;
    height: 45px;
    background: #0284c7;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
    margin-top: 12px;
}

.btn-register:disabled {
    background: #81a7dd !important; 
    opacity: 0.6 !important;        
    cursor: not-allowed !important; 
}

.btn-register:hover {
    background: #0369a1;
}

.login-link {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.login-link a {
    color: #0284c7;
    text-decoration: none;
    font-weight: bold;
}

.form-group select option {
    background: rgba(255, 255, 255, 0.95); 
    color: #0f172a;
    padding: 10px;
}

/* कस्टम ड्रॉपडाउन की स्टाइलिंग */
.dropdown-wrapper {
    position: relative;
}

.custom-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.15); 
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 5px;
    z-index: 999;
}

.dropdown-wrapper:focus-within .custom-options {
    display: flex;
    flex-direction: column;
}

.custom-options label {
    padding: 10px;
    cursor: pointer;
    color: #0f172a;
    font-weight: 600;
}

.custom-options label:hover {
    background: rgba(255, 255, 255, 0.3);
}

.custom-options input[type="radio"] {
    display: none; 
}

/* मीडिया क्वेरीज़ (रिफ्रेश्ड) */
@media(max-width:992px) {
    .reg-container {
        max-width: 400px;
        height: 500px;
    }
}



@media(max-width:768px) {
    .customer_register {
        padding: 10px;
        align-items: center;
    }
    .reg-container {
        width: 100%;
        max-width: 100%;
        height: 90vh;
        padding: 15px;
    }
    .row {
        flex-direction: column;
        gap: 8px;
    }
    .form-group input:not([type="checkbox"]),
    .form-group select {
        height: 40px;
        font-size: 14px;
    }
    .btn-register {
        height: 42px;
        font-size: 15px;
    }
}

@media(max-width:576px) {
    .reg-container {
        height: 92vh;
        padding: 12px;
        border-radius: 8px;
    }
    .customer_head {
        font-size: 28px;
    }
    .customer_para {
        font-size: 13px;
    }
    .form-group label {
        font-size: 12px;
    }
    .form-group input:not([type="checkbox"]),
    .form-group select {
        height: 38px;
        font-size: 13px;
        padding: 8px 10px;
    }
    .terms-label,
    .privacy-label {
        font-size: 12px;
    }
    .terms_checkbox,
    .privacy_checkbox {
        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;
        min-height: 16px !important;
    }
    .btn-register {
        height: 40px;
        font-size: 14px;
    }
    .login-link {
        font-size: 13px;
    }
}

@media(max-width:360px) {
    .customer_register {
        padding: 6px;
    }
    .reg-container {
        height: 94vh;
        padding: 10px;
    }
    .customer_head {
        font-size: 24px;
    }
    .form-group input:not([type="checkbox"]),
    .form-group select {
        height: 36px;
        font-size: 12px;
    }
    .terms-label,
    .privacy-label {
        font-size: 11px;
    }
    .btn-register {
        height: 38px;
        font-size: 13px;
    }
    .login-link {
        font-size: 12px;
    }
}