/* 
 * GAS Schedule Optimizer - Premium Theme
 * Paleta Minimalista & Premium
 */

:root {
    /* Cores principais */
    --primary: #003E5C;        /* Azul petróleo - base premium */
    --primary-light: #005A84;  /* Azul petróleo mais claro */
    --primary-dark: #002940;   /* Azul petróleo mais escuro */
    
    --accent: #4CC9F0;         /* Cian suave - highlights */
    --accent-light: #7DD9F6;   /* Cian mais claro */
    --accent-dark: #3AAFDB;    /* Cian mais escuro */
    
    --background: #F8FBFD;     /* Branco gelo - fundo limpo */
    --surface: #FFFFFF;        /* Branco puro para cards */
    
    --gray: #A8B0B9;          /* Cinza médio - componentes */
    --gray-light: #D4D9DE;    /* Cinza claro */
    --gray-dark: #717881;     /* Cinza escuro */
    
    --text: #0F1A21;          /* Preto azulada - textos de alto contraste */
    --text-light: #4A5662;    /* Texto secundário */
    --text-muted: #717881;    /* Texto desabilitado */
    
    /* Estados */
    --success: #2ECC71;
    --warning: #F39C12;
    --error: #E74C3C;
    --info: #4CC9F0;
}

/* Reset de cores do Tailwind */
body {
    background-color: var(--background);
    color: var(--text);
}

/* Navbar premium */
.navbar-premium {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    box-shadow: 0 2px 12px rgba(0, 62, 92, 0.15);
}

/* Botões premium */
.btn-premium {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 62, 92, 0.2);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 62, 92, 0.3);
}

.btn-accent {
    background: var(--accent);
    color: var(--text);
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* Cards premium */
.card-premium {
    background: var(--surface);
    border: 1px solid var(--gray-light);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 26, 33, 0.08);
    transition: all 0.3s ease;
}

.card-premium:hover {
    box-shadow: 0 4px 16px rgba(15, 26, 33, 0.12);
    transform: translateY(-2px);
}

/* Stats cards */
.stat-card {
    background: var(--surface);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(15, 26, 33, 0.06);
}

/* Badges premium */
.badge-admin {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    color: white;
}

.badge-chief {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
}

.badge-provider {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--text);
}

.badge-active {
    background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
    color: white;
}

.badge-inactive {
    background: linear-gradient(135deg, var(--gray) 0%, var(--gray-dark) 100%);
    color: white;
}

/* Inputs premium */
.input-premium {
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: var(--surface);
}

.input-premium:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(76, 201, 240, 0.1);
    outline: none;
}

/* Table premium */
.table-premium {
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
}

.table-premium thead {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
}

.table-premium tbody tr {
    border-bottom: 1px solid var(--gray-light);
    transition: background 0.2s ease;
}

.table-premium tbody tr:hover {
    background: var(--background);
}

/* Modal premium */
.modal-premium {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(15, 26, 33, 0.15);
}

/* Links */
a {
    color: var(--accent-dark);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent);
}

/* Footer */
.footer-premium {
    background: var(--surface);
    border-top: 1px solid var(--gray-light);
    color: var(--text-light);
}

/* Scrollbar premium */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--gray);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-dark);
}

/* Loading spinner */
.spinner-premium {
    border: 3px solid var(--gray-light);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility classes */
.text-premium { color: var(--primary); }
.text-accent { color: var(--accent); }
.bg-premium { background-color: var(--primary); }
.bg-accent { background-color: var(--accent); }
.border-accent { border-color: var(--accent); }

