/*
 * ==========================================================================
 *  MODIFICATION GLOBAL TECH
 *  Fichier ajoute : css/mkm-login-hero.css
 *
 *  Nouvelle presentation des pages de connexion (admin + vendeur), inspiree
 *  du visuel fourni par le client. Entierement scope sous ".mkm-hero" pour
 *  ne modifier AUCUNE autre page/theme de l'application.
 * ==========================================================================
 */

.mkm-hero {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    box-sizing: border-box;
    background: radial-gradient(circle at 15% 20%, #1c3fa8 0%, transparent 45%),
                radial-gradient(circle at 85% 80%, #14297a 0%, transparent 50%),
                linear-gradient(135deg, #0a1650 0%, #14257a 45%, #1c3fa8 100%);
    position: relative;
    overflow: hidden;
}

.mkm-hero::before,
.mkm-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    background: #ffffff;
    pointer-events: none;
}

.mkm-hero::before {
    width: 420px;
    height: 420px;
    top: -140px;
    right: -120px;
}

.mkm-hero::after {
    width: 320px;
    height: 320px;
    bottom: -120px;
    left: -100px;
}

.mkm-card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 880px;
    min-height: 460px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
}

.mkm-card-left {
    flex: 1 1 320px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 100%);
    text-align: center;
}

.mkm-logo-badge {
    width: 130px;
    height: 130px;
    border-radius: 28px;
    background: linear-gradient(150deg, #3b5bdb 0%, #1c3fa8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(15, 30, 100, 0.55);
    margin-bottom: 22px;
}

.mkm-logo-badge img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.mkm-brand {
    color: #ffffff;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 1px;
}

.mkm-tagline {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    margin-top: 6px;
    letter-spacing: 0.5px;
}

.mkm-card-right {
    flex: 1 1 360px;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.97);
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mkm-card-right h1 {
    font-size: 32px;
    font-weight: 800;
    color: #14205b;
    margin: 0 0 6px 0;
}

.mkm-welcome {
    color: #6b7280;
    font-size: 14px;
    margin: 0 0 28px 0;
}

.mkm-field-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;
    margin: 16px 0 6px 0;
}

.mkm-input {
    position: relative;
    display: flex;
    align-items: center;
}

.mkm-input i {
    position: absolute;
    left: 14px;
    color: #4f46e5;
    font-size: 15px;
}

.mkm-input input {
    width: 100%;
    height: 46px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 10px;
    padding: 0 14px 0 40px;
    font-size: 15px;
    color: #111827;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mkm-input input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.mkm-btn {
    width: 100%;
    height: 48px;
    margin-top: 26px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #1c3fa8 0%, #14205b 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.15s ease;
}

.mkm-btn:hover {
    filter: brightness(1.08);
}

.mkm-error {
    margin-top: 16px;
}

.mkm-error:empty {
    margin-top: 0;
}

.mkm-secondary-link {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
}

.mkm-secondary-link a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
}

.mkm-secondary-link a:hover {
    text-decoration: underline;
}

@media (max-width: 620px) {
    .mkm-card-left {
        padding: 32px 20px;
    }
    .mkm-card-right {
        padding: 36px 28px;
    }
}
