/* ============================================
   GLOBAL RESET & BASE
   ============================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 50%, #f0f4f8 100%);
    background-attachment: fixed;
    color: #1e293b;
    min-height: 100vh;
    padding-bottom: 2rem;
    line-height: 1.6;
}

/* ============================================
   TOP BAR / NAVBAR
   ============================================ */
.top-bar {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
    color: #fff;
    padding: 0.8rem 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.top-bar .top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 1rem;
}

.top-bar .brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: #38bdf8;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    letter-spacing: -0.025em;
}

.top-bar .brand:hover {
    color: #7dd3fc;
}

.top-bar .brand img {
    height: 36px;
    width: auto;
    border-radius: 6px;
}

.top-bar .user-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-bar .user-info-text {
    font-size: 0.85rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .user-info-text strong {
    color: #e2e8f0;
}

/* ============================================
   NAV LINKS IN TOP BAR
   ============================================ */
.top-bar .nav-links {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    justify-content: center;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .nav-links a {
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.top-bar .nav-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.top-bar .nav-links a.active {
    color: #ffffff;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border-color: transparent;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

.top-bar .nav-links a.nav-venta.active {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.4);
}

.top-bar .nav-links a.nav-alta.active {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

.top-bar .nav-links a.nav-baja.active {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.4);
}

.top-bar .nav-links a.nav-modificacion.active {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

.top-bar .nav-links a.nav-rubros.active {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.4);
}

.top-bar .nav-links a.nav-ventas.active {
    background: linear-gradient(135deg, #0d9488, #0f766e);
    box-shadow: 0 2px 10px rgba(13, 148, 136, 0.4);
}

/* ============================================
   CONTAINER / LAYOUT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-title {
    font-size: 1.8rem;
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #1e293b, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
                0 10px 15px -3px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08),
                0 20px 40px -10px rgba(0, 0, 0, 0.06);
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 1.4rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

.form-control,
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    background-color: #f9fafb;
    transition: all 0.3s ease;
    color: #1f2937;
}

.form-control::placeholder,
.form-group input::placeholder {
    color: #9ca3af;
}

.form-control:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #6366f1;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
    outline: none;
}

.form-group small {
    display: block;
    margin-top: 0.4rem;
    color: #64748b;
    font-size: 0.82rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
    transform: translateY(-1px);
}

.btn-success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}
.btn-success:hover {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45);
    transform: translateY(-1px);
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}
.btn-warning:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
    transform: translateY(-1px);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}
.btn-danger:hover {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.45);
    transform: translateY(-1px);
}

.btn-secondary {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3);
}
.btn-secondary:hover {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    box-shadow: 0 6px 20px rgba(100, 116, 139, 0.4);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
    border-radius: 8px;
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    animation: slideDown 0.4s ease-out;
    border: 1px solid transparent;
    line-height: 1.5;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-success {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    border-color: #86efac;
}

.alert-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border-color: #fca5a5;
}

.alert-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border-color: #fcd34d;
}

/* ============================================
   TABLES
   ============================================ */
.table-responsive {
    overflow-x: auto;
    border-radius: 12px;
}

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 0.5rem;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.data-table th,
.data-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}

.data-table th {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #475569;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    border-bottom: 2px solid #e2e8f0;
}

.data-table tbody tr {
    transition: background-color 0.2s ease;
}

.data-table tbody tr:hover {
    background-color: #f8fafc;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tfoot td {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 2px solid #e2e8f0;
    font-weight: 700;
}

/* ============================================
   BADGES
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease;
}

.badge:hover {
    transform: scale(1.05);
}

.badge-success {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #15803d;
    border: 1px solid #86efac;
}

.badge-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #b45309;
    border: 1px solid #fcd34d;
}

.badge-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

.badge-info {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0369a1;
    border: 1px solid #7dd3fc;
}

/* ============================================
   AUTOCOMPLETE / SEARCH
   ============================================ */
.autocomplete-container {
    position: relative;
    width: 100%;
}

.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 2px solid #6366f1;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    animation: slideDown 0.2s ease-out;
}

.autocomplete-item {
    padding: 0.85rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.selected {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    padding-left: 1.2rem;
}

.autocomplete-item .item-title {
    font-weight: 600;
    color: #0f172a;
}

.autocomplete-item .item-sub {
    font-size: 0.85rem;
    color: #64748b;
}

.autocomplete-item .item-price {
    font-weight: 700;
    color: #16a34a;
    font-size: 1rem;
}

/* ============================================
   MENU GRID (index.php)
   ============================================ */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.menu-card {
    background: #ffffff;
    padding: 1.8rem 1.2rem;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    color: #1e293b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: transparent;
    transition: background 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.menu-card.venta:hover { border-color: #22c55e; color: #16a34a; }
.menu-card.venta:hover::before { background: linear-gradient(90deg, #22c55e, #16a34a); }
.menu-card.alta:hover { border-color: #6366f1; color: #4f46e5; }
.menu-card.alta:hover::before { background: linear-gradient(90deg, #6366f1, #4f46e5); }
.menu-card.baja:hover { border-color: #ef4444; color: #dc2626; }
.menu-card.baja:hover::before { background: linear-gradient(90deg, #ef4444, #dc2626); }
.menu-card.modificacion:hover { border-color: #f59e0b; color: #d97706; }
.menu-card.modificacion:hover::before { background: linear-gradient(90deg, #f59e0b, #d97706); }

.menu-card .icon {
    font-size: 2.5rem;
    margin-bottom: 0.6rem;
    display: block;
    transition: transform 0.3s ease;
}

.menu-card:hover .icon {
    transform: scale(1.15);
}

.menu-card .title {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* ============================================
   DASHBOARD CARD
   ============================================ */
.dashboard-card {
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 500px;
    width: 90%;
    margin: 2rem auto;
}

.dashboard-card h1 {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.dashboard-card p {
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ============================================
   MENU ACTIONS
   ============================================ */
.menu-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0 2rem 0;
}

.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.btn-venta {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}
.btn-venta:hover { background: linear-gradient(135deg, #4ade80, #22c55e); }

.btn-alta {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}
.btn-alta:hover { background: linear-gradient(135deg, #818cf8, #6366f1); }

.btn-baja {
    background: linear-gradient(135deg, #f97316, #ea580c);
}
.btn-baja:hover { background: linear-gradient(135deg, #fb923c, #f97316); }

.btn-modificacion {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}
.btn-modificacion:hover { background: linear-gradient(135deg, #a78bfa, #8b5cf6); }

/* ============================================
   USER INFO
   ============================================ */
.user-info {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #0369a1;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #7dd3fc;
    font-weight: 500;
}

/* ============================================
   STAT CARDS (inline stats in index.php)
   ============================================ */
.stat-card {
    background: #ffffff;
    padding: 1.4rem;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.stat-card .stat-label {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.stat-card .stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    margin-top: 0.3rem;
    letter-spacing: -0.02em;
}

.stat-card .stat-value.blue { color: #6366f1; }
.stat-card .stat-value.green { color: #16a34a; }
.stat-card .stat-value.red { color: #dc2626; }
.stat-card .stat-value.orange { color: #d97706; }

/* ============================================
   FILTER BAR
   ============================================ */
.filter-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-bar .form-group {
    margin-bottom: 0;
    flex: 1;
    min-width: 180px;
}

/* ============================================
   CODE / SERIAL NUMBER
   ============================================ */
code {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #0369a1;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    border: 1px solid #7dd3fc;
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .top-bar {
        padding: 0.6rem 1rem;
    }

    .top-bar .top-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .top-bar .user-nav {
        flex-direction: column;
        gap: 0.5rem;
    }

    .top-bar .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.3rem;
    }

    .top-bar .nav-links a {
        padding: 0.4rem 0.7rem;
        font-size: 0.78rem;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-title {
        font-size: 1.4rem;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-actions {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 1.5rem;
    }
}

/* ============================================
   LOGIN STYLES
   ============================================ */
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.login-body::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25),
                0 0 0 1px rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-icon {
    width: 160px;
    height: auto;
    margin: 0 auto 1.2rem;
    animation: bounce 2s ease-in-out infinite;
}

.login-icon img {
    width: 100%;
    height: auto;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.login-card h2 {
    color: #1e293b;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.login-card p.subtitle {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

.login-card .form-group label svg {
    color: #f97316;
}

.btn-login {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.5);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login svg {
    transition: transform 0.3s ease;
}

.btn-login:hover svg {
    transform: translateX(4px);
}

.login-card .alert {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
