/* ==========================================
   SHOP100 - LOGIN DARK PREMIUM V3
   ========================================== */

:root {
    --login-surface: #1e293b;
    --login-field: #111c2d;
    --login-text: #f1f5f9;
    --login-muted: #a8b6ca;
    --login-border: #384a61;
    --login-accent: #3b82f6;
}

/* FUNDAL */
html, body {
    min-height: 100%;
}

body.login-dark-page {
    margin: 0;
    min-height: 100vh;
    color: var(--login-text);

    background:
        radial-gradient(
            ellipse at 20% 10%,
            rgba(37, 99, 235, 0.25),
            transparent 45%
        ),
        radial-gradient(
            ellipse at 85% 85%,
            rgba(6, 182, 212, 0.15),
            transparent 45%
        ),
        #0b1220;

    font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* CENTRARE LOGIN */
.login-layout {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px 16px;
}

/* CARD LOGIN */
.login-dark-page .login-card {
    width: 100%;
    max-width: 650px;
    margin: 0;

    background: var(--login-surface);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 22px;

    overflow: hidden;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.60),
        0 0 55px rgba(37, 99, 235, 0.15);
}

/* HEADER */
.login-card-header {
    text-align: center;
    padding: 42px 40px 28px;
}

/* ICONITA */
.login-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 85px;
    height: 85px;

    border-radius: 22px;
    color: #ffffff;

    background: linear-gradient(
        135deg,
        #2563eb,
        #1e40af
    );

    box-shadow:
        0 12px 35px rgba(37, 99, 235, 0.45);

    font-size: 36px;
}

/* SHOP100.RO */
.login-eyebrow {
    color: #93b4e4;

    font-size: 16px;
    letter-spacing: 0.25em;
    font-weight: 800;

    margin: 28px 0 12px;
}

/* TITLU */
.login-card-header h1 {
    color: #ffffff;

    font-size: 34px;
    font-weight: 800;

    margin: 0 0 14px;
}

/* SUBTITLU */
.login-subtitle {
    margin: 0;

    color: var(--login-muted);

    font-size: 18px;
    font-weight: 500;
}

/* CORP FORMULAR */
.login-card-body {
    padding: 25px 45px 42px;
}

/* SPATIERE */
.login-card-body .form-group {
    margin-bottom: 28px;
}

/* ETICHETE */
.login-card-body label {
    display: block;

    color: #e2e8f0;

    font-size: 20px;
    font-weight: 800;

    margin-bottom: 12px;
}

/* ICONITE INPUT */
.login-card-body .input-group-addon {
    background: #172437;
    color: #8cb4f6;

    border: 1px solid var(--login-border);
    border-right: 0;

    border-radius: 12px 0 0 12px;

    min-width: 78px;

    font-size: 28px;
}

/* CAMPURI USERNAME SI PASSWORD */
.login-card-body .form-control {
    height: 76px;

    color: #ffffff;
    background: var(--login-field);

    border: 1px solid var(--login-border);
    border-radius: 0 12px 12px 0;

    font-size: 24px;
    font-weight: 800;

    padding: 16px 22px;

    box-shadow: none;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

/* PLACEHOLDER */
.login-card-body .form-control::placeholder {
    color: #94a3b8;
    font-weight: 600;
}

/* FOCUS INPUT */
.login-card-body .form-control:focus {
    color: #ffffff;
    background: #111c2d;

    border-color: #3b82f6;

    box-shadow:
        0 0 0 3px rgba(59, 130, 246, 0.15),
        0 0 25px rgba(59, 130, 246, 0.20);
}

/* BUTON AUTENTIFICARE */
.login-card-body .login-submit {
    height: 76px;
    margin-top: 15px;

    border: none;
    border-radius: 12px;

    color: #ffffff;

    background: linear-gradient(
        135deg,
        #2563eb,
        #3b82f6,
        #0891b2
    );

    font-size: 24px;
    font-weight: 800;

    letter-spacing: 0.5px;

    box-shadow:
        0 10px 30px rgba(37, 99, 235, 0.35);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

/* ICONITA BUTON */
.login-card-body .login-submit .fa {
    margin-left: 14px;
    font-size: 24px;
}

/* HOVER BUTON */
.login-card-body .login-submit:hover {
    color: #ffffff;

    transform: translateY(-3px);
    filter: brightness(1.12);

    box-shadow:
        0 15px 40px rgba(37, 99, 235, 0.50),
        0 0 25px rgba(6, 182, 212, 0.20);
}

/* APASARE BUTON */
.login-card-body .login-submit:active {
    transform: translateY(0);
}

/* FOOTER */
.login-card-footer {
    padding: 24px;

    background: #192536;

    border-top: 1px solid var(--login-border);

    text-align: center;

    color: var(--login-muted);

    font-size: 15px;
}

/* ==========================================
   RESPONSIVE - TELEFOANE
   ========================================== */

@media (max-width: 767px) {

    .login-dark-page .login-card {
        max-width: 100%;
        border-radius: 16px;
    }

    .login-card-header {
        padding: 30px 20px 20px;
    }

    .login-card-header h1 {
        font-size: 26px;
    }

    .login-card-body {
        padding: 20px 22px 30px;
    }

    .login-card-body label {
        font-size: 17px;
    }

    .login-card-body .form-control {
        height: 62px;
        font-size: 19px;
    }

    .login-card-body .input-group-addon {
        min-width: 60px;
        font-size: 23px;
    }

    .login-card-body .login-submit {
        height: 65px;
        font-size: 20px;
    }

    .login-mark {
        width: 70px;
        height: 70px;
    }
}

/* REDUCERE ANIMATII */
@media (prefers-reduced-motion: reduce) {

    .login-card-body .login-submit,
    .login-card-body .form-control {
        transition: none;
    }
}

/* ==========================================
   LOGIN - FONT MODERN POPPINS
   ========================================== */

/* Font pentru intreaga pagina */
body.login-dark-page {
    font-family: 'Poppins', sans-serif;
}

/* Campurile utilizator si parola */
.login-card-body .form-control {
    font-family: 'Poppins', sans-serif;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Textul completat automat de browser */
.login-card-body input:-webkit-autofill {
    font-family: 'Poppins', sans-serif;
    font-size: 23px;
    font-weight: 700;
}

/* Placeholder */
.login-card-body .form-control::placeholder {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Titlul formularului */
.login-card-header h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
}

/* Buton autentificare */
.login-card-body .login-submit {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* ==========================================
   DARK AUTOFILL - CHROME / EDGE
   ========================================== */

.login-card-body input:-webkit-autofill,
.login-card-body input:-webkit-autofill:hover,
.login-card-body input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #111c2d inset;
    -webkit-text-fill-color: #ffffff;
    caret-color: #ffffff;
    border-color: #384a61;
    transition: background-color 9999s ease-out;
}
/* ==========================================
   LOGIN LOGO
   ========================================== */

.login-brand-logo {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-brand-logo img {
    max-width: 220px;
    width: 100%;
    height: auto;

    opacity: 0.92;

    /* face logo-ul negru sa para alb */
    filter: brightness(0) invert(1);

    transition: transform 0.2s ease, opacity 0.2s ease;
}

.login-brand-logo img:hover {
    opacity: 1;
    transform: scale(1.03);
}