/* ================================================================
   Login Page — SiatiVision
   Extracted from login.html inline <style>
   ================================================================ */

/* ============== Layout ============== */
.login-wrapper {
    display: flex;
    width: 100vw;
    min-height: 100vh;
}

/* ============== Left Hero (wider) ============== */
.login-hero-panel {
    position: relative;
    width: 62%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(10, 15, 35, 0.85) 0%,
            rgba(10, 15, 35, 0.70) 50%,
            rgba(10, 15, 35, 0.82) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 4rem;
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.hero-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.hero-badge-text {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: -0.02em;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
}

.hero-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin: 0 0 2rem;
    max-width: 420px;
}

.hero-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4rem 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
}

.hero-footer {
    position: absolute;
    bottom: 2rem;
    left: 4rem;
    font-size: 0.725rem;
    color: rgba(255, 255, 255, 0.25);
    margin: 0;
    z-index: 1;
}

/* ============== Right Form (narrow) ============== */
.login-form-panel {
    width: 38%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 2rem 2.5rem;
}

.form-container {
    width: 100%;
    max-width: 340px;
}

.mobile-logo {
    display: none;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.mobile-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.form-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.25rem;
    letter-spacing: -0.02em;
}

.form-subtitle {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0 0 2rem;
}

/* ============== Error ============== */
.login-error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    color: #dc2626;
    font-size: 0.825rem;
    margin-bottom: 1.5rem;
}

/* ============== Form ============== */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.input-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #334155;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 0.8rem;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 20px;
    pointer-events: none;
    transition: color 0.2s;
}

.login-input {
    width: 100%;
    padding: 0.7rem 0.85rem 0.7rem 2.6rem;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    color: #0f172a;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.login-input::placeholder {
    color: #94a3b8;
}

.login-input:focus {
    outline: none;
    border-color: #0f172a;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.06);
}

.input-wrapper:focus-within .input-icon {
    color: #0f172a;
}

/* ============== Options ============== */
.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.775rem;
}

.remember-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #64748b;
    cursor: pointer;
}

.remember-checkbox {
    width: 15px;
    height: 15px;
    accent-color: #0f172a;
}

.forgot-link {
    color: #0f172a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.forgot-link:hover {
    color: #f18a00;
}

/* ============== Button ============== */
.login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: white;
    background: #0f172a;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-top: 0.25rem;
}

.login-button:hover {
    background: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.login-button:active {
    transform: translateY(0);
}

/* ============== Footer ============== */
.form-footer {
    text-align: center;
    font-size: 0.7rem;
    color: #cbd5e1;
    margin-top: 2.5rem;
}

/* ============== Responsive ============== */
@media (max-width: 900px) {
    .login-wrapper {
        flex-direction: column;
    }

    .login-hero-panel {
        display: none;
    }

    .login-form-panel {
        width: 100%;
        min-height: 100vh;
        padding: 2rem 1.5rem;
    }

    .mobile-logo {
        display: flex;
    }
}