/* Login Page Styles */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(0, 180, 216, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255, 107, 107, 0.06) 0%, transparent 50%);
    animation: loginBgShift 20s ease-in-out infinite alternate;
}

@keyframes loginBgShift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(3%, 3%); }
}

.login-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-brand {
    padding: 2rem 2rem 0.5rem;
    text-align: center;
}

.login-brand-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2c5364, #00B4D8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.login-brand-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.login-brand h2 {
    font-weight: 700;
    font-size: 1.5rem;
    color: #1a1a2e;
    letter-spacing: -0.5px;
    margin-bottom: 0.25rem;
}

.login-brand p {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 0;
}

.login-form {
    padding: 1.5rem 2rem 2rem;
}

.login-form .form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-form .form-control {
    border-radius: 0.5rem;
    padding: 0.6rem 0.85rem;
    border: 1.5px solid #dee2e6;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-size: 0.9rem;
}

.login-form .form-control:focus {
    border-color: #00B4D8;
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.login-form .input-group-text {
    border-radius: 0.5rem 0 0 0.5rem;
    border: 1.5px solid #dee2e6;
    border-right: none;
    background: #f8f9fa;
    color: #6c757d;
}

.login-form .input-group .form-control {
    border-radius: 0 0.5rem 0.5rem 0;
}

.login-form .input-group:focus-within .input-group-text {
    border-color: #00B4D8;
    color: #00B4D8;
}

.login-btn {
    border-radius: 0.5rem;
    padding: 0.6rem;
    font-weight: 600;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #2c5364, #203a43);
    border: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(44, 83, 100, 0.4);
    background: linear-gradient(135deg, #203a43, #2c5364);
}

.login-btn:active {
    transform: translateY(0);
}

.login-footer {
    text-align: center;
    padding: 0 2rem 1.5rem;
    font-size: 0.75rem;
    color: #adb5bd;
}

.login-alert {
    border-radius: 0.5rem;
    font-size: 0.85rem;
    border: none;
    padding: 0.65rem 0.85rem;
}

.login-alert-danger {
    background: #fff5f5;
    color: #c92a2a;
}

.login-alert-warning {
    background: #fff9db;
    color: #e67700;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: #6c757d;
    cursor: pointer;
    z-index: 5;
    padding: 0;
    font-size: 1rem;
}

.password-toggle:hover {
    color: #495057;
}
