/* ===================================================
   Alufest - Estilos
   =================================================== */

:root {
    --alufest-primary: #2563eb;
    --alufest-success: #16a34a;
    --alufest-warning: #f59e0b;
    --alufest-danger: #dc2626;
}

body {
    background-color: #f8fafc;
}

/* Login */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}
.login-card {
    width: 100%;
    max-width: 400px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border: none;
}
.login-logo {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--alufest-primary);
    margin-bottom: 0.5rem;
}
.login-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* Dashboard */
.stat-card {
    border-radius: 12px;
    transition: transform 0.2s;
}
.stat-card:hover {
    transform: translateY(-3px);
}

/* Tabelas - não cortar dropdowns */
.table-responsive {
    border-radius: 8px;
    overflow: visible !important;
}

/* Card body não cortar dropdowns */
.card {
    overflow: visible;
}
.card-body {
    overflow: visible;
}

/* Dropdown dentro de tabelas - garantir que apareça acima de tudo */
.table .dropdown-menu {
    z-index: 1085;
}

/* Garantir que o dropdown da última linha não seja cortado */
.table-responsive tbody tr:last-child td {
    overflow: visible;
}

/* Badges de status */
.badge-status-aberto { background-color: var(--alufest-warning); }
.badge-status-confirmado { background-color: var(--alufest-primary); }
.badge-status-retirado { background-color: #6366f1; }
.badge-status-devolvido { background-color: var(--alufest-success); }
.badge-status-cancelado { background-color: var(--alufest-danger); }

/* Toast */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

/* Dropdown menu sempre acima */
.dropdown-menu {
    z-index: 1085;
}
