:root {
    --fme-navy: #0c2b38;
    --fme-blue: #012f47;
    --fme-light-blue: #134b5f;
    --fme-dourado: #b0892b;
    --fme-bg: #f5f7fa;
    --fme-text: #343a40;
}

* {
    box-sizing: border-box;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fme-auth-body {
    background: var(--fme-bg);
    color: var(--fme-text);
}

.fme-auth-brand-panel {
    position: relative;
    overflow: hidden;
    padding: 4rem 8%;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(12, 43, 56, 0.97), rgba(1, 47, 71, 0.90)),
        url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.fme-auth-brand-panel::before,
.fme-auth-brand-panel::after {
    position: absolute;
    width: 28rem;
    height: 28rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    content: "";
}

.fme-auth-brand-panel::before {
    right: -10rem;
    bottom: -12rem;
}

.fme-auth-brand-panel::after {
    top: -16rem;
    left: -12rem;
}

.fme-brand-content {
    position: relative;
    z-index: 1;
    max-width: 590px;
    align-self: center;
}

.fme-brand-mark,
.fme-mobile-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    color: #fff;
    font-size: 1.75rem;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

.fme-brand-mark img {
    width: 34px;
    height: 34px;
}

.fme-mobile-logo {
    width: 50px;
    height: 50px;
    margin-bottom: .75rem;
    background: var(--fme-navy);
}

.fme-mobile-logo img {
    width: 28px;
    height: 28px;
}

.fme-brand-label,
.fme-eyebrow {
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.fme-brand-label {
    display: block;
    margin-bottom: 1.25rem;
    opacity: .82;
}

.fme-eyebrow {
    color: var(--fme-blue);
}

.fme-brand-content h1 {
    max-width: 600px;
    margin-bottom: 1.25rem;
    font-size: clamp(2.25rem, 4vw, 4.25rem);
    font-weight: 750;
    line-height: 1.1;
}

.fme-brand-content > p {
    max-width: 520px;
    color: rgba(255, 255, 255, .82);
    font-size: 1.08rem;
    line-height: 1.75;
}

.fme-brand-features {
    display: grid;
    gap: 1rem;
    margin-top: 3rem;
}

.fme-brand-features div {
    display: flex;
    align-items: center;
    gap: .85rem;
    font-weight: 600;
}

.fme-brand-features i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
}

.fme-auth-form-panel {
    padding: 2rem;
    background: #fff;
}

.fme-auth-card {
    width: 100%;
    max-width: 430px;
}

.fme-auth-card h2 {
    color: var(--fme-navy);
}

.text-fme-primary {
    color: var(--fme-navy);
}

.input-group-text {
    color: #7b8794;
    background: #f8fafc;
    border-color: #dee5ed;
}

.form-control {
    border-color: #dee5ed;
}

.form-control:focus {
    border-color: var(--fme-light-blue);
    box-shadow: 0 0 0 .22rem rgba(19, 75, 95, .18);
}

.btn-fme-primary {
    border-color: var(--fme-blue);
    color: #fff;
    background: var(--fme-blue);
    box-shadow: 0 8px 20px rgba(1, 47, 71, .25);
}

.btn-fme-primary:hover,
.btn-fme-primary:focus {
    border-color: var(--fme-navy);
    color: #fff;
    background: var(--fme-navy);
}

.fme-link-small,
.fme-back-link {
    color: var(--fme-blue);
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
}

.fme-link-small:hover,
.fme-back-link:hover {
    color: var(--fme-navy);
    text-decoration: underline;
}

.fme-auth-footer {
    color: #8793a3;
    font-size: .82rem;
    text-align: center;
}

@media (max-width: 991.98px) {
    .fme-auth-form-panel {
        min-height: 100vh;
        padding: 1.5rem;
    }
}