.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a1628 0%, #0f2b46 40%, #1a3a5c 70%, #0d2137 100%);
    position: relative;
    overflow: hidden;
    padding: 20px;
}
.login-page::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212,160,23,0.07) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatLogin 12s ease-in-out infinite;
}
.login-page::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212,160,23,0.04) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatLogin 15s ease-in-out infinite reverse;
}
@keyframes floatLogin {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -25px) scale(1.08); }
}

.login-container {
    display: flex;
    max-width: 920px;
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.login-info {
    flex: 1;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212,160,23,0.1);
    border-inline-end: none;
    padding: 50px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.login-info .logo-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(212,160,23,0.35);
    box-shadow: 0 0 40px rgba(212,160,23,0.12);
    margin-bottom: 20px;
}
.login-info .logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.login-info h1 {
    font-family: 'Amiri', serif;
    color: #d4a017;
    font-size: 2.2rem;
    margin-bottom: 6px;
    text-shadow: 0 2px 15px rgba(212,160,23,0.25);
}
.login-info .tagline {
    color: rgba(255,255,255,0.55);
    font-size: 0.92rem;
    margin-bottom: 35px;
}
.login-info .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    width: 100%;
    max-width: 280px;
    text-align: start;
}
.login-info .feature-item i {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(212,160,23,0.1);
    color: #d4a017;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.login-info .feature-item span {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
}

.login-form-side {
    flex: 1;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(212,160,23,0.12);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.login-form-side h2 {
    color: #d4a017;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
    text-align: center;
}
.login-form-side .sub {
    color: rgba(255,255,255,0.45);
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 28px;
}
.login-form-side .fg {
    margin-bottom: 18px;
}
.login-form-side .fg label {
    display: block;
    color: rgba(255,255,255,0.65);
    font-size: 0.84rem;
    margin-bottom: 7px;
}
.login-form-side .fg label i {
    margin-inline-end: 5px;
    color: #d4a017;
}
.login-form-side .fi {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.95rem;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.login-form-side .fi::placeholder { color: rgba(255,255,255,0.2); }
.login-form-side .fi:focus {
    border-color: #d4a017;
    box-shadow: 0 0 18px rgba(212,160,23,0.12);
    background: rgba(255,255,255,0.08);
}
.login-form-side .row-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.login-form-side .row-between label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
    cursor: pointer;
}
.login-form-side .row-between label input { accent-color: #d4a017; }
.login-form-side .row-between a {
    color: #d4a017;
    font-size: 0.82rem;
    text-decoration: none;
    transition: opacity 0.3s;
}
.login-form-side .row-between a:hover { opacity: .7; }
.login-form-side .btn-login {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #d4a017, #b8860b);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(212,160,23,0.3);
}
.login-form-side .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(212,160,23,0.4);
}
.login-form-side .alert-err {
    background: rgba(229,62,62,0.15);
    border: 1px solid rgba(229,62,62,0.3);
    color: #fc8181;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 0.88rem;
}
.login-form-side .alert-ok {
    background: rgba(72,187,120,0.15);
    border: 1px solid rgba(72,187,120,0.3);
    color: #68d391;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 0.88rem;
}
.login-form-side .bottom-links {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}
.login-form-side .bottom-links a {
    color: rgba(255,255,255,0.4);
    font-size: 0.83rem;
    text-decoration: none;
    transition: color 0.3s;
}
.login-form-side .bottom-links a:hover { color: #d4a017; }
.login-form-side .quick-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    padding: 7px 18px;
    border-radius: 8px;
    background: rgba(212,160,23,0.08);
    color: #d4a017;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}
.login-form-side .quick-link:hover { background: rgba(212,160,23,0.15); }

.social-login { margin-top: 20px; text-align: center; }
.social-login .s-divider { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: rgba(255,255,255,0.3); font-size: .78rem; }
.social-login .s-divider::before, .social-login .s-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.08); }
.social-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.social-btn { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .9rem; color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); text-decoration: none; transition: all .3s ease; }
.social-btn:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,0.3); }

.lang-switcher {
    position: absolute;
    top: 20px;
    inset-inline-end: 20px;
    z-index: 10;
}
.lang-switcher-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}
.lang-switcher-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}
.lang-dropdown-menu {
    display: none;
    position: absolute;
    top: 52px;
    inset-inline-end: 0;
    background: rgba(15, 43, 70, 0.95);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 160px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    z-index: 999;
}
.lang-dropdown-menu.show { display: block; }
.lang-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.2s;
}
.lang-dropdown-menu a:hover {
    background: rgba(212,160,23,0.15);
    color: #fff;
}
.lang-dropdown-menu a.active {
    color: #d4a017;
    font-weight: 700;
}
.lang-dropdown-menu a .lang-flag {
    width: 22px;
    text-align: center;
    font-size: 1rem;
}

.role-selector {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
    padding: 15px;
    background: rgba(255,255,255,0.03);
    border-radius: 18px;
    border: 1px solid rgba(212,160,23,0.1);
}
.role-option {
    display: flex;
    align-items: center;
}
.role-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(212,160,23,0.5);
    border-radius: 50%;
    margin-inline-end: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}
.role-option input[type="radio"]:checked {
    border-color: #d4a017;
    background: rgba(212,160,23,0.1);
}
.role-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #d4a017;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(212,160,23,0.5);
}
.role-option label {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.3s;
}
.role-option input:checked + label {
    color: #d4a017;
    font-weight: 700;
}
@media (max-width: 480px) {
    .role-selector { flex-direction: column; gap: 15px; align-items: flex-start; }
}
@media (max-width: 768px) {
    .login-container { flex-direction: column-reverse; }
    .login-info { padding: 30px 24px; border: 1px solid rgba(212,160,23,0.1); border-top: none; border-radius: 0 0 28px 28px; }
    .login-form-side { padding: 40px 24px; border-radius: 28px 28px 0 0; }
    .login-info .feature-item { max-width: 100%; }
}
.animate-f {
    animation: slideInRight 0.4s ease-out forwards;
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}