/* Gripmax staff login — matches landing navy/gold */
:root {
    --gm-navy: #0c1526;
    --gm-navy-2: #13233f;
    --gm-gold: #c9a227;
    --gm-gold-2: #e0c36a;
    --gm-line: rgba(201, 162, 39, 0.35);
}

body.gm-auth-body {
    margin: 0 !important;
    min-height: 100vh;
    background: var(--gm-navy) !important;
    font-family: Poppins, sans-serif;
}

.gm-auth {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.25rem;
    overflow: hidden;
    color: #fff;
}

.gm-auth-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, rgba(12, 21, 38, 0.94) 0%, rgba(12, 21, 38, 0.78) 48%, rgba(12, 21, 38, 0.62) 100%),
        url("../images/landing/gripmax/hero-formation.jpg") center/cover no-repeat;
    z-index: 0;
}

.gm-auth-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 20%, rgba(201, 162, 39, 0.12), transparent 55%);
    pointer-events: none;
}

.gm-auth-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gm-auth-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    margin-bottom: 1.75rem;
}

.gm-auth-brand img {
    height: 64px !important;
    width: auto !important;
    max-width: 64px !important;
    display: block;
    object-fit: contain;
}

.gm-auth-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.gm-auth-brand-text strong {
    color: #fff;
    font-size: 16px;
    letter-spacing: .14em;
}

.gm-auth-brand-text small {
    color: var(--gm-gold-2);
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-top: .2rem;
}

.gm-auth-card {
    width: 100%;
    background: rgba(19, 35, 63, 0.88);
    border: 1px solid var(--gm-line);
    border-radius: 16px;
    padding: 2rem 1.75rem 1.5rem;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
}

.gm-auth-card-head {
    margin-bottom: 1.5rem;
}

.gm-auth-card-head .gm-kicker {
    color: var(--gm-gold-2);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    margin-bottom: .65rem;
}

.gm-auth-card-head h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 .4rem;
    line-height: 1.2;
}

.gm-auth-card-head p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: .95rem;
}

.gm-auth-form .form-label {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    font-size: .875rem;
}

.gm-auth-form .form-control {
    background: rgba(12, 21, 38, 0.65);
    border: 1px solid rgba(201, 162, 39, 0.28);
    color: #fff;
    border-radius: 10px;
    min-height: 46px;
    padding: .65rem .9rem;
}

.gm-auth-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.gm-auth-form .form-control:focus {
    background: rgba(12, 21, 38, 0.85);
    border-color: var(--gm-gold);
    color: #fff;
    box-shadow: 0 0 0 .2rem rgba(201, 162, 39, 0.2);
}

.gm-auth-form .form-control.is-invalid {
    border-color: #dc3545;
}

.gm-auth-link {
    color: var(--gm-gold-2);
    font-size: .8rem;
    text-decoration: none;
    font-weight: 500;
}

.gm-auth-link:hover {
    color: #fff;
    text-decoration: underline;
}

.gm-auth-eye {
    color: rgba(255, 255, 255, 0.55) !important;
    height: 46px;
    padding-inline: .85rem;
}

.gm-auth-eye:hover {
    color: var(--gm-gold-2) !important;
}

.gm-auth .btn-gm-gold {
    background: var(--gm-gold);
    border-color: var(--gm-gold);
    color: var(--gm-navy);
    font-weight: 600;
    padding: .75rem 1.35rem;
    border-radius: 10px;
}

.gm-auth .btn-gm-gold:hover {
    background: var(--gm-gold-2);
    border-color: var(--gm-gold-2);
    color: var(--gm-navy);
}

.gm-auth-card-foot {
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(201, 162, 39, 0.2);
    text-align: center;
}

.gm-auth-back {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.gm-auth-back:hover {
    color: var(--gm-gold-2);
}

.gm-auth-copy {
    margin: 1.5rem 0 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: .8rem;
    text-align: center;
}

@media (max-width: 575.98px) {
    .gm-auth-card {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .gm-auth-brand-text small {
        display: none;
    }
}
