/* Base styles (mobile first) */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fff;
    font-size: 10px;
}

.main-flex {
    overflow: hidden;
    display: flex;
    flex-direction: column; /* default: mobile column */
    align-items: stretch;
    position: relative;
}

.left-bg {
    flex: unset;
    background: url('https://signup.hrmspro.net/images/main-login-bg.png') no-repeat center center;
    background-size: cover;
    height: auto;
    min-height: 320px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.left-bg {
    display: none !important;
}

.left-bg .content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    width: 100%;
}

.left-bg .main-title {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-top: 30px;
    margin-bottom: 30px;
    line-height: 1.3;
}

.left-bg .phone-img {
    width: 300px;
    margin: 0 auto 20px auto;
    display: block;
}

.left-bg .outdoor-text {
    font-size: 1.2rem;
    font-weight: 400;
    margin-top: 10px;
    margin-bottom: 0;
}

.right-form-bg {
    flex: unset;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    position: relative;
}

.one-click-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1877b7;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-align: center;
}

.form-card {
    background: #c7c6fa;
    border-radius: 20px;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.08);
    padding: 18px 5vw;
    width: 98vw;
    max-width: 98vw;
    margin: 0 auto;
    position: relative;
}

.tab-switcher {
    display: flex;
    margin-bottom: 30px;
    border-radius: 30px;
    background: #edefff;
    overflow: hidden;
    width: 98vw;
    max-width: 98vw;
    margin-left: auto;
    margin-right: auto;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: #111;
    margin-bottom: 6px;
    margin-left: 2px;
    font-size: 1.08em;
}

.form-group {
    margin-bottom: 12px;
}

.form-control {
    border-radius: 8px;
    border: 1.5px solid #222;
    height: 48px;
    font-size: 1.08em;
    padding-left: 14px;
    background: #fff;
    box-shadow: none;
}

.form-control:focus {
    border-color: #1a1794;
    box-shadow: 0 0 0 2px #c7c6fa;
}

.signup-btn {
    width: 80%;
    margin: 18px auto 0 auto;
    display: block;
    background: #232e7a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: 600;
    padding: 10px 0;
    transition: background 0.2s;
}

.signup-btn:hover {
    background: #1a1794;
}

.alert {
    border-radius: 10px;
    font-size: 1rem;
}

/* Footer */
.footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffe44c;
    color: #222;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 10px 0 6px 0;
    text-align: center;
    letter-spacing: 2px;
    z-index: 1000;
}

.footer b {
    color: #1a1794;
}

.footer a {
    color: #1877b7;
    text-decoration: underline;
}

/* ===== Responsive Breakpoints ===== */

@media (min-width: 1016px) {
    .main-flex {
        flex-direction: row;
    }

    .left-bg {
        display: flex !important;
        /* min-height: 785px; */
        background-position: -30px -10px;
        flex: 1.2;
        height: 100vh;
    }

    .right-form-bg {
        flex: 1;
    }

    .form-card {
        width: 450px;
        max-width: 95vw;
        padding: 32px 38px;
        border-radius: 38px;
    }

    .tab-switcher {
        width: 320px;
        max-width: 320px;
    }

    .one-click-title {
        font-size: 2.7rem;
    }

    .left-bg .main-title {
        font-size: 2.2rem;
    }

    .left-bg .outdoor-text {
        font-size: 2rem;
    }

    .left-bg .phone-img {
        width: 400px;
    }
}

/* Extra large: >1440px */
/* @media screen and (min-width: 1441px) {
    .left-bg {
        background-position: top;
    }
} */
