﻿* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    color: #2f3438;
}

.auth-body {
    min-height: 100vh;
    background: radial-gradient(circle at 68% 38%, rgba(255, 225, 96, 0.38), transparent 28%), linear-gradient(90deg, #ffffff 0%, #ffffff 44%, #fff8dc 100%);
}

.auth-page {
    width: 100%;
    min-height: 100vh;
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 460px;
    align-items: center;
    column-gap: 120px;
    padding: 60px 40px;
}

     removed horizontal red line 
    .auth-page::after {
        display: none;
    }

.auth-left {
    max-width: 520px;
}

.brand-block {
    margin-bottom: 54px;
}

.brand-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.brand-mark {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #b54600;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}

.brand-block h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
    color: #b54600;
}

.brand-block h3 {
    max-width: 420px;
    margin: 0 0 18px;
    font-size: 27px;
    line-height: 1.22;
    font-weight: 800;
    color: #31363b;
    letter-spacing: -0.4px;
}

.brand-block p {
    max-width: 470px;
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: #747f8b;
    font-weight: 600;
}

.feature-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 440px;
}

.feature-card {
    min-height: 120px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #eadfd6;
    border-radius: 12px;
    padding: 18px 18px 16px;
    box-shadow: 0 12px 32px rgba(39, 39, 39, 0.06);
}

.feature-symbol {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #c14b00;
    color: #c14b00;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.feature-card h6 {
    margin: 0 0 6px;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    color: #b54600;
    letter-spacing: 0.5px;
}

.feature-card p {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: #6f7882;
    font-weight: 600;
}

.auth-right {
    width: 100%;
}

.login-card {
    width: 100%;
    background: #ffffff;
    border-radius: 14px;
    padding: 34px 34px 26px;
    box-shadow: 0 22px 60px rgba(35, 35, 35, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.login-header {
    margin-bottom: 28px;
}

    .login-header h4 {
        margin: 0;
        font-size: 22px;
        line-height: 1.2;
        color: #252a2e;
        font-weight: 800;
    }

.header-line {
    width: 52px;
    height: 4px;
    background: #b54600;
    border-radius: 20px;
    margin-top: 10px;
}

.form-group {
    margin-bottom: 22px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-size: 12px;
        color: #7f8994;
        font-weight: 800;
    }

.label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .label-row a {
        font-size: 11px;
        color: #b54600;
        text-decoration: none;
        font-weight: 800;
    }

.input-box {
    height: 50px;
    display: flex;
    align-items: center;
    background: #fffaf7;
    border: 1px solid #e4c7b7;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.2s ease;
}

    .input-box:focus-within {
        border-color: #b54600;
        box-shadow: 0 0 0 3px rgba(181, 70, 0, 0.09);
    }

.input-prefix {
    width: 50px;
    flex-shrink: 0;
    text-align: center;
    color: #87919c;
    font-size: 11px;
    font-weight: 800;
}

.input-box input {
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    color: #2f3438;
}

    .input-box input::placeholder {
        color: #6f7882;
    }

.password-toggle {
    border: none;
    background: transparent;
    cursor: pointer;
    color: #6c757d;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    transition: color .3s;
}

    .password-toggle:hover {
        color: #0d6efd;
    }

    .password-toggle:focus {
        outline: none;
        box-shadow: none;
    }

.role-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.role-card {
    height: 68px;
    border: 1px solid #e3c7b7;
    background: #ffffff;
    border-radius: 8px;
    color: #2f3438;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

    .role-card:hover {
        border-color: #b54600;
        background: #fff9f5;
    }

    .role-card.active {
        border-color: #b54600;
        background: #fff4ec;
        color: #b54600;
        box-shadow: inset 0 0 0 1px #b54600;
    }

.login-btn {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 8px;
    background: #a83f00;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-top: 6px;
    box-shadow: 0 10px 20px rgba(168, 63, 0, 0.28);
    transition: 0.2s ease;
}

    .login-btn:hover {
        background: #8f3600;
        color: #ffffff;
        transform: translateY(-1px);
    }

.security-box {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid #eeeeee;
}

    .security-box h6 {
        margin: 0 0 9px;
        color: #6f7882;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.3px;
    }

    .security-box p {
        margin: 5px 0;
        color: #7a838c;
        font-size: 11px;
        line-height: 1.4;
        font-weight: 600;
    }

        .security-box p::before {
            content: "";
            width: 7px;
            height: 7px;
            background: #c7a74a;
            border-radius: 50%;
            display: inline-block;
            margin-right: 8px;
        }

.login-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    color: #7e858b;
    font-size: 11px;
    font-weight: 700;
}

    .login-footer a {
        color: #7e858b;
        text-decoration: none;
        margin-left: 18px;
    }

        .login-footer a:hover {
            color: #b54600;
        }

@media (max-width: 1100px) {
    .auth-page {
        grid-template-columns: 1fr 430px;
        column-gap: 70px;
    }
}

@media (max-width: 900px) {
    .auth-page {
        grid-template-columns: 1fr;
        row-gap: 42px;
        padding: 42px 26px;
    }

    .auth-left {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .brand-title-row {
        justify-content: center;
    }

    .brand-block h3,
    .brand-block p {
        margin-left: auto;
        margin-right: auto;
    }

    .feature-row {
        margin: 0 auto;
    }

    .auth-right {
        max-width: 460px;
        margin: 0 auto;
    }
}

@media (max-width: 520px) {
    .auth-page {
        padding: 30px 18px;
    }

    .brand-block h2 {
        font-size: 26px;
    }

    .brand-block h3 {
        font-size: 23px;
    }

    .feature-row {
        grid-template-columns: 1fr;
    }

    .login-card {
        padding: 28px 22px 22px;
    }

    .role-grid {
        grid-template-columns: 1fr;
    }

    .login-footer {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

        .login-footer a {
            margin: 0 8px;
        }
}
