* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    background:
            radial-gradient(circle at top left, rgba(255, 111, 0, 0.18), transparent 35%),
            radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.12), transparent 35%),
            #07111f;
    color: #fff;
    min-height: 100vh;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 1120px;
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.login-visual {
    position: relative;
    padding: 42px;
    background:
            linear-gradient(120deg, rgba(7, 17, 31, 0.25), rgba(7, 17, 31, 0.85)),
            url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1400&q=80");
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background:
            linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.65)),
            radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.28), transparent 30%);
    z-index: 1;
}

.brand-box,
.visual-content {
    position: relative;
    z-index: 2;
}

.brand-box {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-icon,
.mobile-logo {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ff3b30, #ff9500);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(255, 90, 0, 0.35);
}

.brand-icon i,
.mobile-logo i {
    font-size: 28px;
    color: #fff;
}

.brand-box h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-box p {
    margin: 2px 0 0;
    color: rgba(255,255,255,0.72);
    font-size: 14px;
}

.visual-content {
    max-width: 560px;
}

.visual-content h2 {
    font-size: 44px;
    line-height: 1.08;
    font-weight: 850;
    letter-spacing: -1.2px;
    margin-bottom: 18px;
}

.visual-content p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.78);
    margin: 0;
}

.login-form-area {
    padding: 54px 44px;
    background:
            linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-header {
    margin-bottom: 30px;
}

.mobile-logo {
    display: none;
    margin-bottom: 18px;
}

.form-header h3 {
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
}

.form-header p {
    color: #94a3b8;
    margin: 0;
}

.form-label {
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 600;
}

.input-group-text {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    border-radius: 14px 0 0 14px;
}

.form-control {
    height: 48px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 0 14px 14px 0;
}

.form-control:focus {
    background: rgba(255,255,255,0.08);
    border-color: rgba(249, 115, 22, 0.7);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
    color: #fff;
}

.form-control::placeholder {
    color: rgba(148, 163, 184, 0.8);
}

.form-check-label {
    color: #94a3b8;
    font-size: 14px;
}

.form-check-input {
    background-color: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
}

.form-check-input:checked {
    background-color: #f97316;
    border-color: #f97316;
}

.forgot-link {
    color: #fb923c;
    font-size: 14px;
    text-decoration: none;
}

.forgot-link:hover {
    color: #fdba74;
}

.btn-fire {
    height: 50px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #ff3b30, #ff9500);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 14px 34px rgba(249, 115, 22, 0.28);
    transition: 0.2s ease;
}

.btn-fire:hover {
    transform: translateY(-1px);
    color: #fff;
    box-shadow: 0 18px 42px rgba(249, 115, 22, 0.38);
}

.alert {
    border-radius: 14px;
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.13);
    color: #fecaca;
}

.login-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 34px;
    color: #64748b;
    font-size: 13px;
}

@media (max-width: 900px) {
    .login-card {
        grid-template-columns: 1fr;
        max-width: 520px;
        min-height: auto;
    }

    .login-visual {
        display: none;
    }

    .login-form-area {
        padding: 36px 26px;
    }

    .mobile-logo {
        display: flex;
    }
}