.demo-panel {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    overflow: hidden;
}
.demo-panel-header {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 10px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}
.demo-cred-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-bottom: 1px solid #fef3c7;
    transition: background 0.12s;
    cursor: pointer;
    gap: 8px;
}
.demo-cred-item:last-child { border-bottom: none; }
.demo-cred-item:hover { background: #fef9c3; }
.demo-cred-item .role-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.demo-cred-item .user-info { flex: 1; min-width: 0; }
.demo-cred-item .user-name { font-size: 0.82rem; font-weight: 700; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-cred-item .user-email { font-size: 0.72rem; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn-autofill {
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1.5px solid #d97706;
    background: transparent;
    color: #d97706;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.15s;
    flex-shrink: 0;
}
.btn-autofill:hover { background: #d97706; color: #fff; }
.force-login-panel {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 12px 14px;
}
.divider-text {
    position: relative;
    text-align: center;
    margin: 14px 0;
    font-size: 0.75rem;
    color: #94a3b8;
}
.divider-text::before {
    content:'';
    position: absolute;
    left: 0; right: 0;
    top: 50%;
    height: 1px;
    background: #e2e8f0;
}
.divider-text span {
    position: relative;
    background: #fff;
    padding: 0 10px;
}
/* Role color badges */
.role-super-admin    { background: #fee2e2; color: #991b1b; }
.role-platform_admin { background: #fee2e2; color: #991b1b; }
.role-admin          { background: #dbeafe; color: #1e40af; }
.role-branch_manager { background: #ede9fe; color: #5b21b6; }
.role-cashier        { background: #dcfce7; color: #166534; }
.role-waiter         { background: #ecfdf5; color: #065f46; }
.role-kitchen_staff  { background: #fef9c3; color: #854d0e; }
.role-menu_manager   { background: #ffedd5; color: #9a3412; }
.role-inventory_manager { background: #e0f2fe; color: #075985; }
.role-accountant     { background: #f3e8ff; color: #6b21a8; }
.role-delivery_manager { background: #fce7f3; color: #9d174d; }
.role-report_viewer  { background: #f1f5f9; color: #475569; }
.demo-tabs .nav-link { font-size: 0.78rem; padding: 5px 12px; color: #64748b; border-radius: 8px 8px 0 0; }
.demo-tabs .nav-link.active { color: #d97706; background: #fffbeb; border-color: #fde68a #fde68a #fffbeb; }

/* Social buttons */
.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    color: #374151;
    text-decoration: none;
    transition: all 0.15s;
    cursor: pointer;
}
.btn-social:hover { border-color: #d1d5db; background: #f9fafb; color: #111827; box-shadow: 0 2px 8px rgba(0,0,0,0.07); }
.btn-social svg { flex-shrink: 0; }
.btn-social-apple     { background: #000; color: #fff; border-color: #000; }
.btn-social-apple:hover { background: #1c1c1e; color: #fff; border-color: #1c1c1e; }
.btn-social-facebook  { background: #1877F2; color: #fff; border-color: #1877F2; }
.btn-social-facebook:hover { background: #166fe5; color: #fff; border-color: #166fe5; }
.btn-social-microsoft { background: #fff; color: #5E5E5E; border-color: #8C8C8C; }
.btn-social-microsoft:hover { background: #f3f3f3; color: #3c3c3c; }
.btn-social-github    { background: #24292e; color: #fff; border-color: #24292e; }
.btn-social-github:hover { background: #2f363d; color: #fff; }
.btn-social-wechat    { background: #07C160; color: #fff; border-color: #07C160; }
.btn-social-wechat:hover { background: #06ad56; color: #fff; }
.social-register-modal .modal-content { border-radius: 16px; border: none; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.social-register-modal .modal-header { border-bottom: 1px solid #f1f5f9; padding: 20px 24px 16px; }
.social-register-modal .modal-body { padding: 20px 24px; }
.social-register-modal .modal-footer { border-top: 1px solid #f1f5f9; padding: 16px 24px 20px; }
