/* ============================================================
   LMP MeatSoft — Login  |  "Corporate Precision"
   Palette: Navy #2A3F54 · Teal #129282 · White #ffffff
   Fonts: Barlow Condensed (brand) · DM Mono (labels) · Outfit (inputs)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;600;700;800&family=DM+Mono:wght@400;500&family=Outfit:wght@300;400;500;600&display=swap');

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

body {
    min-height: 100vh;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    padding: 0 !important;
}

/* ── Background ── */
.cr-bg {
    position: fixed;
    inset: 0;
    background-color: #edf1f5;
    background-image:
        radial-gradient(circle at 0% 100%, rgba(18,146,130,0.07) 0%, transparent 50%),
        radial-gradient(rgba(42,63,84,0.06) 1px, transparent 1px);
    background-size: 100% 100%, 26px 26px;
    z-index: 0;
}

/* ── Root ── */
.cr-root {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 32px 20px;
}

/* ── Card ── */
.cr-card {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    max-width: 880px;
    min-height: 520px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 2px 4px rgba(42,63,84,0.06),
        0 12px 40px rgba(42,63,84,0.12),
        0 0 0 1px rgba(42,63,84,0.08);
    animation: cr-rise 0.55s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes cr-rise {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Left: Brand panel (Navy) ── */
.cr-brand {
    width: 320px;
    flex-shrink: 0;
    background: #2A3F54;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Subtle teal top bar */
.cr-brand::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #129282 0%, rgba(18,146,130,0.3) 100%);
}

/* Geometric background shape */
.cr-brand::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 40px solid rgba(18,146,130,0.08);
    pointer-events: none;
}

.cr-brand-top {}

.cr-logo {
    width: 80%;
    margin-bottom: 36px;
    animation: cr-fade 0.5s 0.15s ease both;
}

@keyframes cr-fade {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 1; transform: translateX(0); }
}

.cr-brand-name {
    font-family: 'DM Mono', monospace;
    font-size: 20px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #129282;
    font-weight:bold;
    margin-bottom: 12px;
    animation: cr-fade 0.5s 0.22s ease both;
}

.cr-brand-tagline {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 300;
    font-size: 28px;
    line-height: 1.2;
    color: rgba(255,255,255,0.7);
    animation: cr-fade 0.5s 0.3s ease both;
}

.cr-brand-tagline strong {
    font-weight: 700;
    color: #ffffff;
    display: block;
}

/* Divider */
.cr-brand-divider {
    width: 32px;
    height: 2px;
    background: rgba(18,146,130,0.5);
    margin: 28px 0;
    animation: cr-fade 0.5s 0.35s ease both;
}

/* Feature list */
.cr-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: cr-fade 0.5s 0.4s ease both;
}

.cr-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    font-weight: 400;
}

.cr-feature-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #129282;
    flex-shrink: 0;
}

/* Downloads */
.cr-downloads {
    animation: cr-fade 0.5s 0.48s ease both;
}

.cr-dl-title {
    font-family: 'DM Mono', monospace;
    font-size: 8.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
    margin-bottom: 8px;
}

.cr-dl-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.4);
    font-size: 11.5px;
    text-decoration: none;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: color 0.2s;
}

.cr-dl-link:hover { color: rgba(255,255,255,0.8); }

.cr-dl-link svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* ── Right: Form panel (White) ── */
.cr-form-panel {
    flex: 1;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    position: relative;
}

.cr-form-inner {
    flex: 1;
    padding: 52px 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Form header */
.cr-form-eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: 9.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #129282;
    margin-bottom: 8px;
    animation: cr-fade-r 0.5s 0.15s ease both;
}

@keyframes cr-fade-r {
    from { opacity: 0; transform: translateX(10px); }
    to   { opacity: 1; transform: translateX(0); }
}

.cr-form-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 38px;
    color: #2A3F54;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 6px;
    animation: cr-fade-r 0.5s 0.2s ease both;
}

.cr-form-sub {
    font-size: 13px;
    color: #8a9bac;
    margin-bottom: 36px;
    font-weight: 400;
    animation: cr-fade-r 0.5s 0.25s ease both;
}

/* Fields */
.cr-field {
    margin-bottom: 18px;
    animation: cr-fade-r 0.5s ease both;
}

.cr-field:nth-child(1) { animation-delay: 0.3s; }
.cr-field:nth-child(2) { animation-delay: 0.36s; }
.cr-field:nth-child(3) { animation-delay: 0.42s; }

.cr-label {
    display: block;
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7a8fa0;
    margin-bottom: 6px;
}

.cr-input {
    display: block;
    width: 100%;
    background: #f7f9fb;
    border: 1.5px solid #dce6ef;
    border-radius: 7px;
    padding: 11px 14px;
    color: #2A3F54;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 400;
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
    outline: none;
    -webkit-appearance: none;
    max-width: 100%;
}

.cr-input::placeholder { color: #b0c0cc; }

.cr-input:focus {
    border-color: #129282;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(18,146,130,0.1);
}

/* Submit */
.cr-submit-wrap {
    margin-top: 8px;
    animation: cr-fade-r 0.5s 0.5s ease both;
}

.cr-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    background: #2A3F54;
    color: #ffffff;
    border: none;
    border-radius: 7px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.12s;
    box-shadow: 0 4px 16px rgba(42,63,84,0.2);
}

.cr-submit:hover {
    background: #129282;
    box-shadow: 0 6px 22px rgba(18,146,130,0.3);
    transform: translateY(-1px);
}

.cr-submit:active { transform: translateY(0); }

.cr-submit-arrow { transition: transform 0.2s; }
.cr-submit:hover .cr-submit-arrow { transform: translateX(4px); }

/* Footer */
.cr-form-footer {
    padding: 14px 48px;
    border-top: 1px solid #f0f4f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: cr-fade-r 0.5s 0.6s ease both;
}

.cr-version {
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #b0c0cc;
}

.cr-status-dot {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #b0c0cc;
}

.cr-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #129282;
    box-shadow: 0 0 5px rgba(18,146,130,0.6);
    animation: cr-pulse 2.5s infinite;
}

@keyframes cr-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.35; }
}

/* ── Responsive ── */
@media (max-width: 680px) {
    .cr-brand { display: none; }
    .cr-card  { max-width: 420px; }
    .cr-form-inner { padding: 40px 32px 32px; }
    .cr-form-footer { padding: 14px 32px; }
}
