/* =========================================
   1. IMPORTAÇÃO DE FONTES E RESET
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Paleta Principal InHealth */
    --primary: #005eb8;
    --primary-dark: #004282;
    --primary-light: #e6f0fa;
    --accent: #ff4757;

    /* Variáveis de Cores da Marca */
    --brand-blue: #005eb8;
    --brand-dark: #1e293b;
    --text-sub: #64748b;
    --danger: #ef4444;

    /* Gradiente Dourado (Premium) */
    --gold-start: #d4af37;
    --gold-end: #f2d06b;

    /* Cores Neutras e Fundos */
    --dark: #1e293b;
    --sidebar-bg: #0f172a;
    --text-body: #475569;
    --bg-body: #f8fafc;
    --surface: #ffffff;
    --border: #e2e8f0;

    /* Semântica (Avisos, Sucesso, etc) */
    --success: #10b981;
    --warning: #f59e0b;
    --info: #3b82f6;
    --purple: #8b5cf6;

    /* Variáveis Específicas Globais */
    --pink-cycle: #ec4899;

    /* Efeitos Visuais */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset Básico para padronizar todos os navegadores */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    outline: none;
}

body {
    background-color: var(--bg-body);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: var(--transition);
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
}

/* Classes Utilitárias */
.hidden {
    display: none !important;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================
   2. UI KIT (Botões, Cards e Badges)
   ========================================= */

/* --- Botões --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 12px rgba(0, 94, 184, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 16px rgba(0, 94, 184, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary-light);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary);
}

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

.btn-alert {
    background: white;
    color: var(--accent);
    font-weight: 800;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* --- Cards Padrão --- */
.card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 24px;
    position: relative;
}

.card:hover {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-md);
}

/* --- Badges (Etiquetas) --- */
.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-danger { background: #fee2e2; color: var(--danger); }
.badge-success { background: #d1fae5; color: var(--success); }
.badge-warning { background: #fef3c7; color: #b45309; }
.badge-info { background: #e0f2fe; color: var(--info); }
.badge-purple { background: #f3e8ff; color: var(--purple); }

/* =========================================
   3. FORMULÁRIOS E INPUTS
   ========================================= */

.input-group {
    text-align: left;
    margin-bottom: 24px;
}

.input-group label, .form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-body);
    margin-bottom: 5px;
}

.input-field, .form-control {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    background: #f8fafc;
    transition: 0.2s;
}

.input-field:focus, .form-control:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 94, 184, 0.1);
}