/* ============================================
   1. RESET & BASE STYLES
============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, #0ba5db 0%, #010a3a 100%);
    padding: 10px;
}

/* ============================================
   2. CONTAINER
============================================ */
.container {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    max-height: 850px;
}

/* ============================================
   3. LOGO SECTION - REDUCED SPACING
============================================ */
.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    margin-bottom: 2px;
    width: 100%;
    flex-shrink: 0;
}

.logo-section .logo-icon {
    width: 250px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.logo-section .brand-name {
    font-size: 30px;
    font-weight: 900;
    color: #010d26;
    letter-spacing: 5px;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
    margin-left: -60px;
}

/* ============================================
   4. CARD - FULLY CIRCULAR BORDERS
============================================ */
.card {
    width: 100%;
    background: #ffffff;
    border-radius: 50px;
    padding: 45px 40px 40px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    min-height: 560px;
    margin-top: -40px;
}

/* ============================================
   5. CARD TITLE
============================================ */
.card-title {
    text-align: center;
    font-size: 50px;
    color: #005a87;
    margin-bottom: 28px;
    font-weight: 700;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.10);
    letter-spacing: 1px;
}

/* ============================================
   6. FORM INPUTS
============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-group:last-of-type {
    margin-bottom: 18px;
}

.form-input {
    width: 100%;
    height: 54px;
    border: 2px solid #005a87;
    border-radius: 10px;
    padding: 0 18px;
    font-size: 18px;
    font-weight: 600;
    color: #005a87;
    background: #f8fcff;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus {
    border-color: #0ba5db;
    box-shadow: 0 0 0 3px rgba(11, 165, 219, 0.15);
}

.form-input::placeholder {
    color: #007cae;
    font-size: 16px;
    font-weight: 600;
    opacity: 0.8;
}

/* ============================================
   7. OPTIONS ROW
============================================ */
.options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 22px 0 26px 0;
}

.options-row .remember-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #005a87;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.options-row .remember-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #005a87;
    cursor: pointer;
}

.options-row .forgot-link {
    text-decoration: none;
    color: #000000;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.3s;
}

.options-row .forgot-link:hover {
    color: #005a87;
}

/* ============================================
   8. LOGIN BUTTON
============================================ */
.btn-login {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 10px;
    background: #001933;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    letter-spacing: 1px;
    /**Increae the margin bottom to 30px for better spacing**/
    margin-bottom: 30px;
}

.btn-login:hover {
    background: #003366;
    transform: scale(1.01);
}

.btn-login:active {
    transform: scale(0.98);
}

/* ============================================
   9. DIVIDER & SOCIAL LOGIN
============================================ */
.divider-text {
    text-align: center;
    color: #005a87;
    margin: 24px 0 20px 0;
    font-size: 15px;
    font-weight: 700;
    position: relative;
}

.divider-text::before,
.divider-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 28%;
    height: 1.5px;
    background: #005a87;
    opacity: 0.25;
}

.divider-text::before {
    left: 0;
}

.divider-text::after {
    right: 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 24px;
}

.social-icons a {
    color: #002b54;
    font-size: 40px;
    text-decoration: none;
    transition: transform 0.3s, color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-icons a .fa-google {
    font-size: 38px;
}

.social-icons a:hover {
    color: #0ba5db;
    transform: translateY(-2px) scale(1.1);
}

/* ============================================
   10. SIGNUP LINK
============================================ */
.signup-text {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #005a87;
}

.signup-text .signup-link {
    text-decoration: none;
    color: #000000;
    font-weight: 800;
    transition: color 0.3s;
}

.signup-text .signup-link:hover {
    color: #0ba5db;
}

/* ============================================
   11. RESPONSIVE DESIGN
============================================ */
@media (max-width: 480px) {
    body {
        padding: 5px;
    }

    .container {
        max-height: 740px;
        padding: 0 5px;
    }

    .logo-section {
        margin-bottom: 2px;
        gap: 0px;
    }

    .logo-section .logo-icon {
        width: 65px;
    }

    .logo-section .brand-name {
        font-size: 32px;
        letter-spacing: 3px;
    }

    .card {
        border-radius: 35px;
        padding: 32px 22px 26px 22px;
        min-height: 480px;
        margin-top: 0;
    }

    .card-title {
        font-size: 42px;
        margin-bottom: 22px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-group:last-of-type {
        margin-bottom: 14px;
    }

    .form-input {
        height: 48px;
        font-size: 16px;
        padding: 0 14px;
        border-radius: 8px;
    }

    .form-input::placeholder {
        font-size: 14px;
    }

    .options-row {
        margin: 16px 0 20px 0;
    }

    .options-row .remember-label {
        font-size: 13px;
    }

    .options-row .forgot-link {
        font-size: 13px;
    }

    .btn-login {
        height: 50px;
        font-size: 20px;
        border-radius: 8px;
    }

    .divider-text {
        font-size: 13px;
        margin: 18px 0 16px 0;
    }

    .divider-text::before,
    .divider-text::after {
        width: 22%;
    }

    .social-icons {
        gap: 24px;
        margin-bottom: 20px;
    }

    .social-icons a {
        font-size: 34px;
    }

    .social-icons a .fa-google {
        font-size: 32px;
    }

    .signup-text {
        font-size: 13px;
    }
}

@media (max-width: 380px) {
    .container {
        max-height: 640px;
    }

    .logo-section {
        margin-bottom: 1px;
        gap: 0px;
    }

    .logo-section .logo-icon {
        width: 55px;
    }

    .logo-section .brand-name {
        font-size: 26px;
        letter-spacing: 2px;
    }

    .card {
        padding: 24px 16px 20px 16px;
        border-radius: 28px;
        min-height: 420px;
        margin-top: 0;
    }

    .card-title {
        font-size: 36px;
        margin-bottom: 18px;
    }

    .form-input {
        height: 44px;
        font-size: 14px;
        padding: 0 12px;
    }

    .form-input::placeholder {
        font-size: 12px;
    }

    .btn-login {
        height: 46px;
        font-size: 18px;
    }

    .social-icons a {
        font-size: 30px;
    }

    .social-icons a .fa-google {
        font-size: 28px;
    }
}

@media (max-height: 720px) {
    .container {
        max-height: 690px;
    }

    .logo-section {
        margin-bottom: 2px;
    }

    .logo-section .logo-icon {
        width: 60px;
    }

    .logo-section .brand-name {
        font-size: 30px;
    }

    .card {
        padding: 30px 35px 26px 35px;
        border-radius: 40px;
        min-height: 480px;
        margin-top: 0;
    }

    .card-title {
        font-size: 42px;
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-input {
        height: 48px;
        font-size: 16px;
    }

    .options-row {
        margin: 18px 0 20px 0;
    }

    .btn-login {
        height: 50px;
        font-size: 22px;
    }

    .divider-text {
        margin: 18px 0 16px 0;
    }

    .social-icons {
        margin-bottom: 18px;
    }
}

@media (max-height: 620px) {
    .container {
        max-height: 590px;
    }

    .logo-section {
        margin-bottom: 1px;
    }

    .logo-section .logo-icon {
        width: 50px;
    }

    .logo-section .brand-name {
        font-size: 26px;
    }

    .card {
        padding: 22px 28px 20px 28px;
        border-radius: 32px;
        min-height: 420px;
        margin-top: 0;
    }

    .card-title {
        font-size: 36px;
        margin-bottom: 16px;
    }

    .form-input {
        height: 42px;
        font-size: 14px;
        border-radius: 8px;
    }

    .btn-login {
        height: 44px;
        font-size: 18px;
    }

    .social-icons a {
        font-size: 30px;
    }

    .social-icons a .fa-google {
        font-size: 28px;
    }
}