@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;600;700;800&family=Mulish:wght@300;400;500&display=swap');

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

html, body {
    height: 100%;
    font-family: 'Mulish', sans-serif;
    overflow: hidden;
}

/* ── WRAPPER ─────────────────────────────────────────────── */
.login-page-wrapper {
    display: flex;
    height: 100vh;
    background: linear-gradient(120deg, #0e6494 0%, #09567c 30%, #073d60 65%, #062f4a 100%);
}

/* ═══════════════════════════════════════════════════════════
   LEFT PANEL  — solid dark ocean
   ═══════════════════════════════════════════════════════════ */
.login-left {
    width: 42%;
    min-width: 380px;
    background: transparent;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* layered background glow blobs */
.login-left::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13,110,253,0.18) 0%, transparent 70%);
    top: -120px; left: -120px;
    pointer-events: none;
}
.login-left::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13,239,213,0.10) 0%, transparent 65%);
    bottom: -80px; right: -60px;
    pointer-events: none;
}

/* decorative ring */
.login-deco-ring {
    position: absolute;
    width: 360px; height: 360px;
    border-radius: 50%;
    border: 1px solid rgba(13,239,213,0.07);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.login-deco-ring::before {
    content: '';
    position: absolute;
    inset: 30px;
    border-radius: 50%;
    border: 1px solid rgba(13,239,213,0.05);
}

/* ── BRAND BAR ───────────────────────────────────────────── */
.login-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 22px 40px;
    position: relative;
    z-index: 2;
}

.login-logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    drop-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.login-brand-text { display: flex; flex-direction: column; gap: 3px; }
.login-brand-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
    line-height: 1;
}
.login-brand-desc {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.7);
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.login-brand-sub {
    font-size: 0.68rem;
    color: rgba(13,239,213,1);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1;
}

/* ── FORM AREA ───────────────────────────────────────────── */
.login-form-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px 48px;
    position: relative;
    z-index: 2;
}

.login-headline h2 {
    font-family: 'Sora', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.login-headline p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.72);
    margin: 8px 0 28px;
    font-weight: 500;
}

/* ── WHITE CARD ──────────────────────────────────────────── */
.login-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 30px 28px 26px;
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 40px rgba(4,36,58,0.3);
}

/* ── FIELDS ──────────────────────────────────────────────── */
.login-field { margin-bottom: 18px; }

.login-field label {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.login-input-wrap { position: relative; }

.login-input-wrap i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem;
    pointer-events: none;
}

.login-field input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.22);
    border-radius: 9px;
    color: #ffffff;
    font-family: 'Mulish', sans-serif;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.login-field input::placeholder { color: rgba(255,255,255,0.35); font-size: 0.8rem; }
.login-field input:focus {
    border-color: rgba(13,239,213,0.7);
    background: rgba(255,255,255,0.18);
    box-shadow: 0 0 0 3px rgba(13,239,213,0.12);
}

/* ── SIGN IN BUTTON ──────────────────────────────────────── */
.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 20px;
    margin-top: 6px;
    background: linear-gradient(135deg, #09567c 0%, #0c3d7a 60%, #0d6efd 100%);
    border: none;
    border-radius: 9px;
    color: #ffffff;
    font-family: 'Sora', sans-serif;
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: opacity 0.18s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 6px 22px rgba(9,86,124,0.42);
}
.login-btn:hover {
    opacity: 0.91;
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(9,86,124,0.5);
}
.login-btn:active { transform: translateY(0); }

/* ── FOOTER NOTE ─────────────────────────────────────────── */
.login-footer-note {
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.62);
    margin-top: 20px;
    letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════════
   RIGHT PANEL — accent ocean blue, map centered
   ═══════════════════════════════════════════════════════════ */
.login-right {
    flex: 1;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.login-right .login-brand {
    align-self: flex-start;
    padding: 20px 28px 0;
}

/* divider between panels */
.login-left {
    border-left: 1px solid rgba(255,255,255,0.1);
}

/* subtle dot grid overlay */
.login-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

/* glow behind map */
.login-right::after {
    content: '';
    position: absolute;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13,239,213,0.12) 0%, transparent 65%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}


.login-right-label {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Sora', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ── DEPLOY PANEL ────────────────────────────────────────── */
.deploy-panel {
    position: relative;
    z-index: 2;
    width: 78%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    align-self: center;
    margin-top: 32px;
}

.deploy-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Sora', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(13,239,213,1);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.deploy-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(13,239,213,1);
    display: inline-block;
    animation: pulse-dot 2s ease-in-out infinite;
}
.deploy-dot:last-child { animation-delay: 1s; }

@keyframes pulse-dot {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.4); }
}

.deploy-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin: 0 0 8px;
    line-height: 1.2;
    white-space: nowrap;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.deploy-sub {
    font-family: 'Sora', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255,255,255,0.82);
    margin: 0 0 30px;
    letter-spacing: 0.01em;
}

/* station cards */
.deploy-stations {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.deploy-station {
    display: flex;
    align-items: center;
    gap: 13px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 12px;
    padding: 13px 16px;
    text-align: left;
    transition: background 0.2s, border-color 0.2s;
}
.deploy-station:hover {
    background: rgba(13,239,213,0.12);
    border-color: rgba(13,239,213,0.45);
}

.deploy-station-icon {
    width: 36px; height: 36px;
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(13,239,213,0.28), rgba(13,110,253,0.35));
    border: 1px solid rgba(13,239,213,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #0defd5;
    font-size: 0.9rem;
}

.deploy-station-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.deploy-station-name {
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.deploy-station-coords {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.68);
    letter-spacing: 0.04em;
    font-family: 'Mulish', monospace;
}

.deploy-station-badge {
    font-family: 'Sora', sans-serif;
    font-size: 0.58rem;
    font-weight: 700;
    color: #0defd5;
    background: rgba(13,239,213,0.18);
    border: 1px solid rgba(13,239,213,0.55);
    border-radius: 20px;
    padding: 2px 9px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    flex-shrink: 0;
}

/* data type tags */
.deploy-footer {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.deploy-footer span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.7);
    font-family: 'Sora', sans-serif;
    font-weight: 500;
    letter-spacing: 0.05em;
}
.deploy-footer span i { font-size: 0.45rem; color: #0defd5; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .login-page-wrapper { flex-direction: column; overflow: auto; }
    .login-left { width: 100%; min-width: unset; }
    .login-right { display: none; }
    html, body { overflow: auto; }
}
