:root{
    --bg:#060606;
    --panel:#0f0f0f;
    --panel-2:#141414;
    --line:rgba(212,175,55,0.10);
    --line-strong:rgba(212,175,55,0.18);
    --text:#f3efe3;
    --muted:#b7ab8a;
    --gold:#d4af37;
    --gold-2:#f0cf68;
    --shadow:0 24px 60px rgba(0,0,0,0.34);
}

*{
    box-sizing:border-box;
    margin:0;
    padding:0;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
    color:var(--text);
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    max-width:100%;
    display:block;
}

.login-single-body{
    min-height:100vh;
    background:
        radial-gradient(circle at top center, rgba(212,175,55,0.08), transparent 16%),
        linear-gradient(180deg, #050505 0%, #0a0a0a 100%);
}

.login-single-wrap{
    min-height:100vh;
    display:flex;
    align-items:flex-start;
    justify-content:center;
    padding:28px 18px;
}

.login-single-card{
    width:100%;
    max-width:620px;
    background:linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
    border:1px solid var(--line);
    border-radius:32px;
    box-shadow:var(--shadow);
    overflow:hidden;
    padding:0 28px 28px;
}

.login-single-topline{
    height:6px;
    background:linear-gradient(90deg, var(--gold) 0%, var(--gold-2) 100%);
    margin:0 -28px 22px;
    width:calc(100% + 56px);
}

.login-single-brand{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    margin-bottom:22px;
}

.login-single-logo-box{
    width:180px;
    height:180px;
    border-radius:20px;
    background:#ffffff;
    padding:6px;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 16px 30px rgba(0,0,0,0.20);
    margin-bottom:14px;
}

.login-single-brand-text h1{
    font-size:1.65rem;
    line-height:1.02;
    letter-spacing:-0.04em;
    color:#f8f3e7;
    margin-bottom:6px;
}

.login-single-brand-text p{
    font-size:0.70rem;
    text-transform:uppercase;
    letter-spacing:0.14em;
    color:#c7b891;
    font-weight:700;
}

.login-single-head{
    text-align:center;
    margin-bottom:16px;
}

.login-single-head small{
    display:inline-block;
    margin-bottom:8px;
    font-size:0.66rem;
    text-transform:uppercase;
    letter-spacing:0.12em;
    color:var(--gold-2);
    font-weight:800;
}

.login-single-head h2{
    font-size:1.7rem;
    line-height:1.02;
    letter-spacing:-0.04em;
    color:#f8f3e7;
}

.login-single-error{
    margin-bottom:18px;
    padding:14px 16px;
    border-radius:16px;
    background:rgba(160,35,35,0.16);
    border:1px solid rgba(255,120,120,0.14);
    color:#ffb4b4;
    font-size:0.9rem;
    font-weight:600;
}

.login-single-form{
    display:grid;
    gap:14px;
}

.login-single-field{
    display:grid;
    gap:8px;
}

.login-single-field label{
    font-size:0.79rem;
    text-transform:uppercase;
    letter-spacing:0.10em;
    color:#d5c59c;
    font-weight:700;
}

.login-single-field input{
    width:100%;
    height:54px;
    border-radius:16px;
    border:1px solid rgba(212,175,55,0.12);
    background:#141414;
    color:#f3efe3;
    padding:0 15px;
    font-family:inherit;
    font-size:0.92rem;
    outline:none;
    transition:.2s ease;
}

.login-single-field input::placeholder{
    color:#8f856d;
}

.login-single-field input:focus{
    border-color:rgba(212,175,55,0.34);
    box-shadow:0 0 0 5px rgba(212,175,55,0.08);
}

.login-single-button{
    margin-top:4px;
    height:52px;
    border:none;
    border-radius:16px;
    background:linear-gradient(135deg, #d4af37 0%, #f0cf68 100%);
    color:#111111;
    font-family:inherit;
    font-size:0.92rem;
    font-weight:800;
    letter-spacing:0.01em;
    cursor:pointer;
    box-shadow:0 14px 26px rgba(212,175,55,0.14);
    transition:.2s ease;
}

.login-single-button:hover{
    transform:translateY(-1px);
}

@media (max-width: 640px){
    .login-single-card{
        padding:0 22px 24px;
        border-radius:24px;
    }

    .login-single-topline{
        margin:0 -22px 22px;
        width:calc(100% + 44px);
    }

    .login-single-logo-box{
        width:160px;
        height:160px;
        border-radius:18px;
    }

    .login-single-brand-text h1{
        font-size:1.55rem;
    }

    .login-single-head h2{
        font-size:1.6rem;
    }
}