/* =========================================================
   GLOBAL RESET & BASE
========================================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #f3f4f8, #eef1f7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
}

/* =========================================================
   AUTH WRAPPER
========================================================= */
.auth-wrapper {
    width: 100%;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================
   AUTH CARD (🔥 COMPACT SaaS HEIGHT)
========================================================= */
.auth-card {
    width: 880px;
    max-width: 100%;
    min-height: 410px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    overflow: hidden;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.12),
        0 6px 14px rgba(0, 0, 0, 0.08);
}

/* =========================================================
   LEFT PANEL
========================================================= */
.auth-left {
    width: 50%;
    background: linear-gradient(135deg, #000000, #1a1a1a);
    color: #ffffff;
    padding: 42px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

/* BRAND */
.brand-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 6px;
}

.brand-logo {
    max-width: 96px;
    margin-bottom: 6px;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.35));
}

.auth-left p {
    font-size: 14px;
    line-height: 1.45;
    opacity: 0.95;
}

/* CTA */
.outline-btn {
    margin-top: 18px;
    padding: 11px 34px;
    border-radius: 28px;
    border: 2px solid #f5c400;
    color: #f5c400;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.outline-btn:hover {
    background: #f5c400;
    color: #000000;
}

/* =========================================================
   RIGHT PANEL
========================================================= */
.auth-right {
    width: 50%;
    padding: 42px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.auth-right h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #000;
}

/* =========================================================
   TEXT
========================================================= */
.or-text {
    font-size: 13.5px;
    color: #777;
    margin-bottom: 16px;
}

/* =========================================================
   FORM
========================================================= */
.auth-right form {
    width: 100%;
}

.auth-right input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    margin-bottom: 12px;
    border-radius: 11px;
    border: 1.4px solid #d6d9e0;
    font-size: 13.8px;
    transition: all 0.25s ease;
}

.auth-right input:focus {
    border-color: #f5c400;
    box-shadow: 0 0 0 3px rgba(245,196,0,0.22);
}

/* PASSWORD */
.password-wrapper {
    position: relative;
}

.password-wrapper i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #999;
    cursor: pointer;
}

.password-wrapper i:hover {
    color: #f5c400;
}

/* FORGOT */
.forgot-row {
    text-align: right;
    margin-bottom: 14px;
}

.forgot-row a {
    font-size: 13px;
    color: #f5c400;
    font-weight: 700;
    text-decoration: none;
}

/* BUTTON */
.primary-btn {
    width: 100%;
    height: 44px;
    border-radius: 28px;
    border: none;
    background: linear-gradient(135deg, #f5c400, #d4aa00);
    color: #000;
    font-weight: 900;
    letter-spacing: 1px;
    cursor: pointer;
}

/* =========================================================
   ALERT
========================================================= */
.small-alert {
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
}

/* =========================================================
   RESPONSIVE MQ — ALL DEVICES
========================================================= */

/* Large laptops */
@media (max-width: 1200px) {
    .auth-card {
        width: 92%;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .auth-card {
        flex-direction: column;
        min-height: auto;
    }

    .auth-left,
    .auth-right {
        width: 100%;
        padding: 38px 34px;
    }
}

/* Large phones */
@media (max-width: 768px) {
    .auth-left,
    .auth-right {
        padding: 34px 26px;
    }

    .brand-logo {
        max-width: 82px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .auth-wrapper {
        padding: 12px;
    }

    .auth-left p {
        font-size: 13px;
    }

    .auth-right h3 {
        font-size: 22px;
    }
}

/* Extra small phones */
@media (max-width: 360px) {
    .auth-right input {
        height: 42px;
    }
}
