/* --- TRANG LOGIN MODERN 2026 --- */
*, *:before, *:after {
    box-sizing: border-box;
}
.login-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e293b; /* Màu tối sang trọng */
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
}

.login-header p {
    color: #64748b;
    font-size: 0.95rem;
}

/* Fix lỗi dàn hàng ngang trên mobile */
.form-group {
    display: flex;
    flex-direction: column; /* Quan trọng: Luôn xếp dọc */
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    background: #f8fafc;
    transition: all 0.2s;
    outline: none;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Nút bấm full rộng trên mobile */
.btn-login {
    width: 100%;
    padding: 16px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 10px;
}

.btn-login:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

#msg {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}
.settings-container { max-width: 900px; margin: 0 auto; }
        .group-title { background: #f1f5f9; padding: 10px 20px; border-radius: 8px; margin: 30px 0 15px 0; font-size: 0.9rem; text-transform: uppercase; color: var(--secondary); font-weight: 800; letter-spacing: 1px; border-left: 4px solid var(--accent); }
        .setting-card { background: #fff; padding: 25px; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); border: 1px solid var(--border); }
        .setting-row { display: grid; grid-template-columns: 280px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid #f8fafc; align-items: center; }
        .setting-row:last-child { border-bottom: none; }
        .setting-info label { font-weight: 700; color: var(--primary); font-size: 0.95rem; display: block; }
        .setting-info small { color: var(--text-muted); font-size: 0.8rem; display: block; margin-top: 4px; }
        .input-control { width: 100%; padding: 10px 15px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.95rem; transition: 0.2s; }
        .input-control:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); }
        .alert { padding: 15px 20px; border-radius: 10px; margin-bottom: 25px; display: flex; align-items: center; gap: 10px; font-size: 0.9rem;}
        .alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
        .alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
        
        /* Style cho phần preview logo */
        .logo-preview-container { display: flex; align-items: center; gap: 20px; margin-top: 10px; }
        .logo-preview { max-height: 60px; max-width: 200px; border: 1px solid var(--border); padding: 5px; border-radius: 8px; background: #f8fafc; }
        .no-logo { font-size: 0.8rem; color: var(--text-muted); font-style: italic; }

        @media (max-width: 768px) { .setting-row { grid-template-columns: 1fr; gap: 10px; } }
