/* ======================================================= */
/* 1. GLOBAL & RESET SYSTEM                                */
/* ======================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Elements borders se bahar nahi nikalte */
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f4f6f8; /* Soft responsive UI background */
    font-family: Arial, sans-serif;
}

/* Logo Alignment */
.logo-container {
    padding: 20px 0 0 20px;
}

#logo {
    width: 7rem;
    max-width: 100%;
    justify-content: center;
    align-self: center ;
    display: flex;
}

/* ======================================================= */
/* 2. FLEXIBLE MAIN WRAPPER                                */
/* ======================================================= */
.container1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 20px; /* Mobile edges se space rakhne ke liye */
    width: 100%;
}

/* Modern Dynamic Login Card Box */
.block4 {
    background: white;
    padding: 35px 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px; /* Desktop par bada nahi hoga, mobile par auto chota hoga */
    min-height: auto; /* Fixed height hata di taake elements override na hon */
    border: 1px solid #d1d5db;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.block4 h1 {
    text-align: center;
    margin-bottom: 8px;
    color: #333;
}

.signup-text {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 25px;
}

.signup-text a {
    color: #007C89;
    text-decoration: none;
    margin-left: 5px;
}

.signup-text a:hover {
    text-decoration: underline;
}

/* ======================================================= */
/* 3. RESPONSIVE FORMS & INPUTS                            */
/* ======================================================= */
.form-group {
    margin-bottom: 20px;
}

.block4 h5 {
    font-size: 14px;
    margin-bottom: 8px;
    color: #4b5563;
}

/* Pure Liquid Inputs */
.input1 {
    width: 100%; /* Box ke barabar fit hoga har size me */
    height: 38px; /* Touch target size behtar karne ke liye */
    padding: 8px 12px;
    border: 1px solid #9ca3af;
    border-radius: 4px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.input1:focus {
    border-color: #007C89;
    box-shadow: 0 0 0 2px rgba(0, 124, 137, 0.2);
}

/* Checkbox alignment correction */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 25px;
}

.checkbox-container input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* ======================================================= */
/* 4. BUTTONS & LINK NAVIGATION                            */
/* ======================================================= */
.btn-container {
    margin-bottom: 25px;
}

/* Fluid Pill Button */
.button {
    display: block; /* Poori flexible width cover karega */
    width: 100%;
    height: auto;
    padding: 12px;
    text-align: center;
    text-decoration: none;
    background-color: #007C89;
    color: white;
    border: none;
    border-radius: 999px; /* Absolute Full pill shape */
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.button:hover {
    background-color: #005f69;
}

/* Bottom Stack Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    margin-top: 15px;
}

.footer-links a {
    color: #007C89;
    text-decoration: none;
    font-size: 13px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* ======================================================= */
/* 5. MEDIA QUERY ADJUSTMENTS                              */
/* ======================================================= */
@media screen and (max-width: 480px) {
    .block4 {
        padding: 25px 20px; /* Chote mobile par side padding auto-adjust hogi */
    }
    
    .logo-container {
        display: flex;
        justify-content: center; /* Mobile par logo center ho jayega */
        padding: 20px 0 0 0;
    }
}
