﻿* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: #1f2937;
}

body {
    background: #f6f7fb;
}

.admin-login-page {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: radial-gradient(circle at top left, rgba(253, 70, 33, 0.12), transparent 32%), radial-gradient(circle at bottom right, rgba(255, 186, 73, 0.16), transparent 34%), linear-gradient(135deg, #ffffff 0%, #f6f7fb 45%, #fff4ef 100%);
}

.login-bg-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.32;
    z-index: 1;
}

.glow-one {
    background: #fd4621;
    top: -140px;
    left: -100px;
}

.glow-two {
    background: #ffba49;
    right: -130px;
    bottom: -150px;
}

.login-shell {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1120px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: stretch;
}

.login-brand-panel,
.login-card {
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(20px);
    border-radius: 32px;
}

.login-brand-panel {
    padding: 54px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;    
    overflow: hidden;
    position: relative;
}

    .login-brand-panel::before {
        content: "";
        position: absolute;
        inset: auto -100px -140px auto;
        width: 360px;
        height: 360px;
        border-radius: 999px;
        background: rgba(253, 70, 33, 0.10);
    }

    .login-brand-panel::after {
        content: "";
        position: absolute;
        top: 38px;
        right: 38px;
        width: 180px;
        height: 180px;
        border-radius: 40px;
        background: linear-gradient(135deg, rgba(253, 70, 33, 0.12), rgba(255, 186, 73, 0.16));
        transform: rotate(12deg);
    }

.brand-badge {
    position: relative;
    width: fit-content;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(253, 70, 33, 0.10);
    border: 1px solid rgba(253, 70, 33, 0.18);
    color: #fd4621;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.login-brand-panel h1 {
    position: relative;
    max-width: 620px;
    margin: 0;
    color: #111827;
    font-size: clamp(38px, 5vw, 66px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    font-weight: 850;
}

.login-brand-panel p {
    position: relative;
    max-width: 520px;
    margin: 24px 0 0;
    color: #64748b;
    font-size: 17px;
    line-height: 1.7;
}

.brand-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 38px;
}

    .brand-stats div {
        padding: 18px;
        border-radius: 22px;
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, 0.07);
        box-shadow: 0 14px 35px rgba(15, 23, 42, 0.07);
    }

    .brand-stats strong {
        display: block;
        font-size: 24px;
        line-height: 1;
        color: #fd4621;
    }

    .brand-stats span {
        display: block;
        margin-top: 7px;
        font-size: 13px;
        color: #64748b;
    }

.login-card {
    padding: 42px;
    align-self: center;
    background: rgba(255, 255, 255, 0.94);
}

.login-logo-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 34px;
}

.login-logo-mark {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: linear-gradient(135deg, #fd4621, #ff8a3d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 900;
    letter-spacing: -0.04em;
    box-shadow: 0 18px 40px rgba(253, 70, 33, 0.30);
}

.login-logo-wrap h2 {
    margin: 0;
    color: #111827;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.login-logo-wrap span {
    display: block;
    margin-top: 7px;
    font-size: 14px;
    color: #64748b;
}

.form-group {
    margin-bottom: 18px;
}

    .form-group label {
        display: block;
        margin-bottom: 9px;
        font-size: 14px;
        font-weight: 800;
        color: #334155;
    }

.form-control {
    width: 100%;
    height: 56px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
    color: #111827;
    padding: 0 18px;
    outline: none;
    font-size: 15px;
    transition: all 0.22s ease;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

    .form-control::placeholder {
        color: #94a3b8;
    }

    .form-control:focus {
        border-color: rgba(253, 70, 33, 0.75);
        box-shadow: 0 0 0 4px rgba(253, 70, 33, 0.12), 0 14px 34px rgba(15, 23, 42, 0.08);
    }

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4px 0 24px;
}

.remember-me {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #64748b;
    font-size: 14px;
    cursor: pointer;
}

    .remember-me input {
        accent-color: #fd4621;
    }

.login-btn {
    width: 100%;
    height: 58px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #fd4621, #ff7a18);
    color: #ffffff;
    font-size: 16px;
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 18px 42px rgba(253, 70, 33, 0.30);
    transition: all 0.22s ease;
}

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 24px 58px rgba(253, 70, 33, 0.42);
    }

.login-alert {
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fff1ec;
    border: 1px solid rgba(253, 70, 33, 0.22);
    color: #b83216;
    font-size: 14px;
    line-height: 1.5;
}

.login-footer {
    margin-top: 26px;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
}

@media only screen and (max-width: 991px) {
    .login-shell {
        grid-template-columns: 1fr;
        max-width: 620px;
    }

    .login-brand-panel {
        min-height: auto;
        padding: 38px;
    }
}

@media only screen and (max-width: 574.98px) {
    .admin-login-page {
        padding: 18px;
    }

    .login-brand-panel {
        display: none;
    }

    .login-card {
        padding: 28px 22px;
        border-radius: 26px;
    }

    .login-logo-wrap {
        align-items: flex-start;
    }

        .login-logo-wrap h2 {
            font-size: 26px;
        }
}
