/* =====================================================
   ESTILOS PREMIUM - SISTEMA DE AGENDAMENTO
   ===================================================== */

:root {
    /* Paleta de Cores 'Realce' (Rose Gold & Bronze) */

    /* Cores Principais */
    --primary-main: #c48b6f;
    /* Bronze/Cobre Sofisticado */
    --primary-light: #e5bdaf;
    /* Rose Gold Claro */
    --primary-dark: #8c5e4a;
    /* Marrom Cobre Escuro */

    /* Cores Secundárias (Tons de Pele/Blush) */
    --secondary-main: #d4a373;
    /* Ouro envelhecido suave */
    --secondary-light: #fae1dd;
    /* Rosa Champagne Muito Claro */

    /* Detalhes de Luxo */
    --accent-color: #d4af37;
    /* Dourado Metálico */

    /* Gradientes Elegantes */
    --gradient-primary: linear-gradient(135deg, #c48b6f 0%, #aa7256 100%);
    --gradient-glass: linear-gradient(145deg, rgba(255, 245, 242, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    --gradient-dark: linear-gradient(135deg, #4a3b32 0%, #2c2420 100%);
    /* Marrom Café Profundo */

    /* Funcionais */
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #0ea5e9;

    /* Neutros Suaves (Warm Grays) */
    --bg-body: #fdf8f6;
    /* Rose White (Fundo muito sutil) */
    --bg-surface: #ffffff;
    --text-main: #4a3b32;
    /* Marrom Café (Substituto do Preto) */
    --text-muted: #8d7f76;
    /* Taupe */
    --border-light: #efe6e1;
    /* Bege Claro */

    /* Sombras Quentes */
    --shadow-sm: 0 1px 2px 0 rgba(196, 139, 111, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(196, 139, 111, 0.15), 0 2px 4px -2px rgba(196, 139, 111, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(196, 139, 111, 0.15), 0 4px 6px -4px rgba(196, 139, 111, 0.1);
    --shadow-glow: 0 0 25px rgba(212, 175, 55, 0.25);
    /* Glow Dourado */
}

/* =====================================================
   RESET & BASE
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.025em;
}

main {
    flex: 1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

/* =====================================================
   UTILITÁRIOS VISUAIS
   ===================================================== */

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shadow-hover:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* =====================================================
   NAVBAR
   ===================================================== */

.navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-main) !important;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-main) !important;
    background: rgba(99, 102, 241, 0.05);
}

/* =====================================================
   COMPONENTES
   ===================================================== */

/* Cards */
.card {
    border: 1px solid var(--border-light);
    border-radius: 16px;
    background: var(--bg-surface);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--border-light);
    padding: 1.5rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

/* Botões */
.btn {
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s;
    letter-spacing: 0.3px;
    border: none;
}

/* Footer Customizations */
footer.bg-dark h5 {
    color: white !important;
}

footer.bg-dark p,
footer.bg-dark li {
    color: rgba(255, 255, 255, 0.7) !important;
}

footer.bg-dark a {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: color 0.3s;
}

footer.bg-dark a:hover {
    color: var(--primary-light) !important;
    text-decoration: none !important;
}

footer.bg-dark hr {
    border-color: rgba(255, 255, 255, 0.1) !important;
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.5);
    filter: brightness(1.1);
}

.btn-light {
    background: white;
    color: var(--primary-main);
    box-shadow: var(--shadow-sm);
}

.btn-light:hover {
    background: #f8fafc;
    color: var(--primary-dark);
}

/* Forms */
.form-control,
.form-select {
    border-radius: 10px;
    border: 1px solid var(--border-light);
    padding: 0.875rem 1rem;
    background-color: #f8fafc;
}

.form-control:focus,
.form-select:focus {
    background-color: white;
    border-color: var(--primary-main);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

/* Tabelas */
.table thead th {
    background-color: #f8fafc;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--border-light);
}

.table td {
    vertical-align: middle;
}

/* Badges */
.badge {
    padding: 0.5em 0.8em;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge.bg-success {
    background-color: rgba(16, 185, 129, 0.1) !important;
    color: #059669;
}

.badge.bg-warning {
    background-color: rgba(245, 158, 11, 0.1) !important;
    color: #d97706;
}

.badge.bg-danger {
    background-color: rgba(239, 68, 68, 0.1) !important;
    color: #b91c1c;
}

.badge.bg-info {
    background-color: rgba(59, 130, 246, 0.1) !important;
    color: #2563eb;
}

/* =====================================================
   HERO SECTION & DECORATION
   ===================================================== */

.hero-gradient {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    transform: rotate(-15deg);
}

.animate-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   ADMIN DASHBOARD
   ===================================================== */

.stats-card {
    border: none;
    position: relative;
    overflow: hidden;
    color: white;
}

.stats-card .card-body {
    position: relative;
    z-index: 2;
}

.stats-card::after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 100px;
    opacity: 0.1;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.border-left-primary {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.border-left-info {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.border-left-success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.border-left-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.stats-card h3 {
    font-size: 2.5rem;
    margin: 0;
}

.stats-card h6 {
    opacity: 0.9;
    font-weight: 400;
}