* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: Inter, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #edf3ff, #f5f7fb);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    color: #1f2937;
}
.login-wrapper {
    width: 100%;
    max-width: 1200px;
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 20px 60px rgba(20, 40, 120, 0.12);
    min-height: 680px;
}
.left-panel {
    position: relative;
    padding: 42px 44px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
    overflow: hidden;
}
.left-panel::before {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -50px;
    width: 500px;
    height: 260px;
    background: linear-gradient(90deg, #dbeafe, #eff6ff);
    border-radius: 50%;
    opacity: 0.9;
}
.logo-area { display: flex; align-items: center; gap: 16px; margin-bottom: 52px; position: relative; z-index: 2; }
.logo-box {
    width: 62px; height: 62px; border-radius: 16px;
    background: linear-gradient(135deg, #0f5cff, #0047d9);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 30px; font-weight: bold;
    box-shadow: 0 12px 25px rgba(15, 92, 255, 0.3);
}
.brand-title { font-size: 24px; font-weight: 800; color: #0f172a; line-height: 1.2; }
.brand-sub { margin-top: 4px; color: #64748b; font-size: 14px; font-weight: 500; }
.brand-sub span { color: #2563eb; font-weight: 700; }
.hero-line { width: 36px; height: 4px; border-radius: 999px; background: #2563eb; margin-bottom: 22px; position: relative; z-index: 2; }
.hero-title { font-size: 42px; line-height: 1.15; font-weight: 800; color: #111827; max-width: 420px; position: relative; z-index: 2; }
.hero-title span { color: #2563eb; }
.hero-desc {
    margin-top: 24px; font-size: 16px; line-height: 1.8; color: #64748b;
    max-width: 470px; position: relative; z-index: 2;
}
.feature-list { margin-top: 42px; display: flex; flex-direction: column; gap: 22px; position: relative; z-index: 2; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon {
    min-width: 48px; height: 48px; border-radius: 14px; background: #eff6ff;
    display: flex; align-items: center; justify-content: center;
    color: #2563eb; font-size: 22px;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.06);
}
.feature-title { font-size: 16px; font-weight: 700; color: #2563eb; margin-bottom: 6px; }
.feature-text { font-size: 14px; line-height: 1.6; color: #64748b; max-width: 360px; }
.physics-bg {
    position: absolute; right: 32px; bottom: 120px;
    opacity: 0.08; font-size: 140px; font-weight: 800;
    color: #2563eb; transform: rotate(-8deg); z-index: 1;
}
.formula {
    position: absolute; right: 80px; top: 320px;
    font-size: 38px; color: #2563eb; opacity: 0.08; font-style: italic; z-index: 1;
}
.right-panel { padding: 64px; display: flex; flex-direction: column; justify-content: center; background: #ffffff; }
.login-header { text-align: center; margin-bottom: 40px; }
.login-header h1 { font-size: 44px; color: #2563eb; font-weight: 800; margin-bottom: 10px; }
.login-header p { font-size: 18px; color: #6b7280; }
.form-group { margin-bottom: 24px; }
.form-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 10px; color: #374151; }
.input-wrapper { position: relative; }
.input-wrapper input {
    width: 100%; height: 58px; border-radius: 12px; border: 1px solid #dbe3ef;
    padding: 0 48px; font-size: 15px; outline: none; transition: 0.2s ease; background: #fff;
}
.input-wrapper input:focus { border-color: #2563eb; box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08); }
.input-icon, .toggle-icon {
    position: absolute; top: 50%; transform: translateY(-50%);
    color: #94a3b8; font-size: 18px;
}
.input-icon { left: 16px; z-index: 2; }
.toggle-icon {
    right: 16px;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 0;
    z-index: 2;
}
.custom-dropdown {
    width: 100%;
    position: relative;
    cursor: pointer;
}
.dropdown-selected {
    width: 100%;
    height: 58px;
    border-radius: 12px;
    border: 1px solid #dbe3ef;
    padding: 0 16px 0 48px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    transition: 0.2s ease;
}
.dropdown-selected:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
    outline: none;
}
.dropdown-options {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(15, 92, 255, 0.12);
    max-height: 220px;
    overflow-y: auto;
    z-index: 99;
}
.dropdown-option {
    padding: 12px 16px;
    font-size: 15px;
    color: #1f2937;
    transition: 0.2s ease;
}
.dropdown-option:hover,
.dropdown-option.selected {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 600;
}
.dropdown-arrow {
    color: #94a3b8;
    transition: 0.2s ease;
}
.options-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; font-size: 14px; }
.remember-box { display: flex; align-items: center; gap: 10px; color: #4b5563; }
.remember-box input { width: 16px; height: 16px; accent-color: #2563eb; }
.forgot-link { color: #2563eb; text-decoration: none; font-weight: 600; }
.login-btn {
    width: 100%; height: 58px; border: none; border-radius: 14px;
    background: linear-gradient(90deg, #0f5cff, #0057ff);
    color: white; font-size: 18px; font-weight: 700; cursor: pointer;
    transition: 0.2s ease; box-shadow: 0 16px 30px rgba(37, 99, 235, 0.2);
}
.login-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 34px rgba(37, 99, 235, 0.28); }
.register-text { margin-top: 34px; text-align: center; color: #6b7280; font-size: 15px; }
.register-text a { display: inline-block; margin-top: 10px; color: #2563eb; font-weight: 700; text-decoration: none; }
@media (max-width: 980px) {
    .login-wrapper { grid-template-columns: 1fr; }
    .left-panel, .right-panel { padding: 40px 28px; }
    .hero-title { font-size: 34px; }
    .login-header h1 { font-size: 36px; }
}
@media (max-width: 580px) {
    body { padding: 12px; }
    .hero-title { font-size: 28px; }
    .hero-desc { font-size: 15px; }
    .login-header h1 { font-size: 30px; }
    .right-panel { padding: 36px 20px; }
}
