:root
{
    --shadow-orange: #EC6A1F;
    --shadow-orange-hover: #d7601b;
    --shadow-dark: #2B2A29;
    --shadow-dark-soft: #403d3a;
    --shadow-input-bg: rgba(255, 255, 255, 0.94);
    --shadow-input-border: rgba(43, 42, 41, 0.10);
    --shadow-panel-top: rgba(255, 255, 255, 0.22);
    --shadow-panel-bottom: rgba(255, 255, 255, 0.14);
    --shadow-error: #c62828;
}

*,
*::before,
*::after
{
    box-sizing: border-box;
}

html,
body
{
    min-height: 100vh;
}

body
{
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    display: flex;
    align-items: stretch;
    background:
        linear-gradient(90deg, rgba(10, 18, 24, 0.24) 0%, rgba(10, 18, 24, 0.16) 30%, rgba(10, 18, 24, 0.08) 100%),
        url('../images/icons/background.jpg') center/cover no-repeat;
    color: #fff;
}

.div_login
{
    width: min(500px, 100%);
    min-height: 100vh;
    margin-left: clamp(24px, 4vw, 64px);
    padding: 34px 40px 32px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.15));
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: relative;
    overflow: hidden;
}


.div_login::before
{
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(236, 106, 31, 0.14), transparent 28%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.10), transparent 24%);
    pointer-events: none;
}

.div_logo,
.div_title,
.div_error,
.info_text,
.s_input,
.s_button
{
    position: relative;
    z-index: 1;
}

.div_logo
{
    width: 100%;
    text-align: center;
    margin-bottom: 28px;
}

.img_logo
{
    width: min(320px, 82%);
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.10));
}

.div_title
{
    width: 100%;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: 0.2px;
    color: #353231;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.30);
}

.div_title::after
{
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    margin: 12px auto 0 auto;
    border-radius: 999px;
    background: linear-gradient(90deg, #EC6A1F, #ff9a54);
    box-shadow: 0 4px 12px rgba(236, 106, 31, 0.18);
}

.div_title span
{
    color: #EC6A1F;
}
.s_input
{
    width: 100%;
    margin: 0 0 14px 0;
    padding: 0 16px !important;
    height: 50px !important;
    border: 1px solid var(--shadow-input-border) !important;
    border-radius: 15px;
    background: var(--shadow-input-bg);
    color: var(--shadow-dark);
    font-size: 15px !important;
    line-height: normal !important;
    outline: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 8px 20px rgba(0, 0, 0, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.s_input::placeholder
{
    color: rgba(43, 42, 41, 0.46);
}

.s_input:focus
{
    border-color: rgba(236, 106, 31, 0.62) !important;
    box-shadow:
        0 0 0 4px rgba(236, 106, 31, 0.14),
        0 10px 24px rgba(0, 0, 0, 0.10);
    transform: translateY(-1px);
}

.s_button
{
    width: 100%;
    margin: 10px 0 0 0;
    height: 52px !important;
    border: none !important;
    border-radius: 15px;
    padding: 0 20px !important;
    cursor: pointer;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: normal !important;
    background: linear-gradient(135deg, var(--shadow-orange), #ff8637);
    box-shadow:
        0 14px 28px rgba(236, 106, 31, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.s_button:hover
{
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow:
        0 18px 34px rgba(236, 106, 31, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.s_button:active
{
    transform: translateY(0);
    box-shadow:
        0 10px 20px rgba(236, 106, 31, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.div_error
{
    width: 100%;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--shadow-error);
    padding: 12px 14px;
}

.info_text
{
    margin: 16px 0 16px 0;
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    color: #fff;
    font-size: 16px;
    line-height: 1.45;
    border: none;
    background: linear-gradient(135deg, #d62828, #b71c1c);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.info_text.update
{
    background: linear-gradient(135deg, var(--shadow-orange), #ff8a3d) !important;
    border: none;
}

a.s_button
{
    display: flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1.2 !important;
}

.mobile-access-message
{
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 22px 0 6px 0;
    padding: 14px 16px;
    border-radius: 14px;
    color: #353231;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.52);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
}

.mobile-access-message--error
{
    color: #fff;
    background: linear-gradient(135deg, #d62828, #b71c1c);
    border-color: transparent;
}

.mobile-access-login .div_login
{
    width: min(560px, 100%);
}

@media (max-width: 900px)
{
    .mobile-access-login .div_login
    {
        justify-content: flex-start;
        padding-top: 120px;
    }

    .mobile-access-login .div_logo
    {
        margin-bottom: 22px;
    }
}

@media (max-width: 900px)
{
    .div_login
    {
        width: 100%;
        min-height: 100vh;
        margin-left: 0;
        padding: 28px 22px 24px 22px;
        border-right: none;
    }

    .img_logo
    {
        width: min(260px, 76%);
    }

    .div_title
    {
        font-size: 28px;
    }
}

@media (max-width: 600px)
{
    html,
    body
    {
        min-height: 100dvh;
    }

    body
    {
        min-height: 100dvh;
        padding: 16px;
        align-items: center;
        justify-content: center;
        background-position: center;
    }

    .div_login,
    .mobile-access-login .div_login
    {
        width: min(100%, 520px);
        min-height: 0;
        margin: 0;
        padding: 34px 26px 30px;
        border: 1px solid rgba(255, 255, 255, 0.26);
        border-radius: 24px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0.20));
        box-shadow: 0 20px 52px rgba(0, 0, 0, 0.28);
    }

    .mobile-access-login .div_login
    {
        justify-content: center;
        padding-top: 34px;
    }

    .div_logo,
    .mobile-access-login .div_logo
    {
        margin-bottom: 24px;
    }

    .img_logo
    {
        width: min(300px, 88%);
    }

    .div_title
    {
        font-size: 29px;
    }

    .div_error
    {
        padding: 10px 0;
    }

    .info_text,
    .mobile-access-message
    {
        margin: 14px 0;
        padding: 14px 16px;
        font-size: 15px;
    }

    .s_input
    {
        height: 56px !important;
        margin-bottom: 14px;
        padding: 0 18px !important;
        border-radius: 16px;
        font-size: 17px !important;
    }

    .s_button
    {
        height: 58px !important;
        margin-top: 12px;
        border-radius: 16px;
        font-size: 17px !important;
    }
}
