/* Loader ko screen ke beech mein fit karne ke liye */
#auto-browser-loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.7); /* Halka transparent piche ka hissa */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999; /* Sabse upar dikhega */
}

/* Thik browser tab jaisa gol spinner */
.native-spinner {
    width: 35px;
    height: 35px;
    border: 3.5px solid #e0e0e0; /* Halka grey ring */
    border-top: 3.5px solid #1a73e8; /* Chrome/Browser jaisa Google Blue rang */
    border-radius: 50%;
    animation: browser-spin 0.6s linear infinite; /* Ghoomne ki speed */
}

@keyframes browser-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Sabse upar yeh master reset zaroor lagayein taaki padding screen se bahar na bhaage */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial;
    background: #f5f5f5;
}

.container {
    width: 100%;             /* Fix width (300px) hata kar 100% kiya */
    max-width: 350px;        /* Desktop par box ko isse bada nahi hone dega */
    margin: 80px auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-sizing: border-box;  /* Padding ko andar hi control rakhega */
}

.form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hidden {
    display: none;
}

button {
    padding: 10px;
    cursor: pointer;
}

#statusIcon {
    transition: 0.3s;
}

/* लोडर का मुख्य स्टाइल */
.loader-circle {
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    animation: spin 1s linear infinite;
}

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

/* Jab error ho toh input ka border aur text red ho jaye */
.input-error {
    border-color: #ff4d4d !important;
    background-color: #fff5f5 !important;
}

/* Placeholder ka color red karne ke liye */
.input-error::placeholder {
    color: #ff4d4d;
    opacity: 1;
}

/* =======================================================
   RESPONSIVE MEDIA QUERIES (Ab yeh perfectly kaam karengi)
   ======================================================= */

/* 1. Tablets aur Chote Laptops ke liye (Max-width: 768px) */
@media screen and (max-width: 768px) {
    .container {
        width: 85%;            
        margin: 50px auto;     
        padding: 18px;         
    }
}

/* 2. Mobile Phones ke liye (Max-width: 480px) */
@media screen and (max-width: 480px) {
    .container {
        width: 90%;            
        margin: 30px auto;     
        padding: 15px;         
        border-radius: 8px;    
    }

    button, input, textarea {
        padding: 12px;         
        font-size: 16px;       
    }

    .loader-circle {
        width: 18px;           
        height: 18px;
    }
}

/* 3. Bahut Chote Mobile Phones ke liye (Max-width: 320px) */
@media screen and (max-width: 320px) {
    .container {
        width: 95%;
        padding: 12px;
    }
}

      
            .container {
                background: #ffffff;
                /* Pure White */
                padding: 40px;
                border-radius: 20px;
                box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
                /* Soft Shadow */
                width: 380px;
                transition: all 0.3s ease;
            }

            h2 {
                text-align: center;
                color: #111827;
                /* Dark Grey/Black */
                font-weight: 700;
                margin-bottom: 30px;
                letter-spacing: -0.5px;
            }

            .input-group {
                position: relative;
                margin-bottom: 20px;
            }

            /* Input & Select fields */
            input,
            select {
                width: 100%;
                padding: 14px 16px;
                padding-right: 45px;
                background-color: #f9fafb;
                /* Lightest input background */
                border: 1.5px solid #e5e7eb;
                border-radius: 12px;
                color: #374151;
                font-size: 15px;
                box-sizing: border-box;
                transition: all 0.2s ease;
                outline: none;
            }

            /* Focus effect */
            input:focus,
            select:focus {
                border-color: #10b981;
                /* Emerald Green */
                background-color: #ffffff;
                box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
            }

            /* End-aligned Circle Icon */
            .status-icon {
                position: absolute;
                right: 15px;
                top: 50%;
                transform: translateY(-50%);
                font-size: 16px;
                pointer-events: none;
                color: #9ca3af;
            }

            /* Premium Button */
            button {
                width: 100%;
                padding: 14px;
                background-color: #10b981;
                /* Vibrant Green */
                color: white;
                border: none;
                border-radius: 12px;
                font-size: 16px;
                font-weight: 600;
                cursor: pointer;
                transition: all 0.3s ease;
                margin-top: 10px;
                box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2);
            }

            button:disabled {
                background-color: #d1d5db;
                cursor: not-allowed;
                box-shadow: none;
            }

            button:hover:not(:disabled) {
                background-color: #059669;
                /* Darker Green */
                transform: translateY(-1px);
                box-shadow: 0 6px 12px rgba(16, 185, 129, 0.3);
            }

            /* Footer Links */
            p {
                text-align: center;
                font-size: 14px;
                color: #6b7280;
                margin-top: 25px;
            }

            a {
                color: #10b981;
                text-decoration: none;
                font-weight: 600;
            }

            a:hover {
                text-decoration: underline;
            }

            .hidden {
                display: none;
            }
     