/* ======================================================= */
/* DESIGN MODERNO - CYDAK SOLUÇÕES                */
/* ======================================================= */

/* --- VARIÁVEIS DE COR E FONTE --- */
:root {
    --font-body: 'Poppins', sans-serif;
    --font-heading: 'Days One', sans-serif; /* Usando Days One, que é a versão disponível no Google Fonts */

    --c-primary: #004693;
    --c-primary-dark: #00336a;
    --c-primary-light: #e6eef7;
    
    --c-accent: #F4A220;
    --c-accent-dark: #d68f1c;
    --c-accent-light: #fef8ec;

    --c-text: #1e293b; /* slate-800 */
    --c-text-light: #475569; /* slate-600 */
    --c-border: #cbd5e1; /* slate-300 */

    --border-radius: 0.75rem; /* 12px */
    --transition: all 0.2s ease-in-out;
}

/* --- ESTILOS GLOBAIS E RESETS --- */
body {
    font-family: var(--font-body);
    color: var(--c-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Aplicando a fonte de título aos cabeçalhos principais */
h1, h2, .font-heading {
    font-family: var(--font-heading);
    color: var(--c-primary);
}

/* --- COMPONENTES DA APLICAÇÃO --- */

/* Painel de Login e Cartões */
.bg-white {
    border-radius: var(--border-radius);
}

/* Botões Principais */
.btn-primary {
    background-color: var(--c-primary);
    color: white;
    font-weight: 700;
    border-radius: var(--border-radius);
    transition: var(--transition);
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}
.btn-primary:hover {
    background-color: var(--c-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 70, 147, 0.2);
}

/* Inputs, Selects e Textareas */
input[type="text"],
input[type="password"],
input[type="number"],
select,
textarea {
    border-radius: var(--border-radius) !important;
    border-color: var(--c-border);
    transition: var(--transition);
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    border-color: var(--c-primary) !important;
    box-shadow: 0 0 0 3px var(--c-primary-light) !important;
    outline: none !important;
}

/* Barra Lateral (Sidebar) */
.tab-btn.bg-blue-100 { /* Classe de botão ativo do Tailwind */
    background-color: var(--c-primary-light) !important;
    color: var(--c-primary) !important;
    border-radius: var(--border-radius);
}

/* --- ÍCONES DA BARRA LATERAL (SIDEBAR) --- */
/* ADICIONADO PARA CORRIGIR O TAMANHO */
.sidebar-icon {
    width: 24px;
    height: 24px;
}

/* Status (Disponível e Emprestada) */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem; /* 12px */
    font-weight: 600;
    text-transform: uppercase;
}
.status-ok {
    color: #15803d; /* green-700 */
    background-color: #dcfce7; /* green-100 */
}
.status-accent {
    color: var(--c-accent-dark);
    background-color: var(--c-accent-light);
}


/* Ícones do Dashboard */
.dashboard-icon-bg {
    background-color: var(--c-primary-light);
    color: var(--c-primary);
}

/* Animações e Scrollbar (mantidos do original) */
.table-wrap::-webkit-scrollbar { width: 8px; height: 8px; }
.table-wrap::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 10px; }
.table-wrap::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 10px; }
.table-wrap::-webkit-scrollbar-thumb:hover { background: #475569; }
@keyframes toast-in { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.toast-in { animation: toast-in 0.3s ease-out forwards; }
@keyframes modal-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-content-in { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
#detalheModal, #confirmationModal { animation: modal-fade-in 0.2s ease-out forwards; }
#detalheModal > div, #confirmationModal > div { animation: modal-content-in 0.3s ease-out forwards; }
.image-gallery { position: relative; overflow: hidden; border-radius: 0.5rem; background-color: #e2e8f0; }
.gallery-image { display: none; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.3s ease-in-out; }
.gallery-image.active { display: block; opacity: 1; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; display: flex; justify-content: space-between; padding: 0 0.5rem; pointer-events: none; }
.gallery-nav button { pointer-events: all; background-color: rgba(0, 0, 0, 0.4); color: white; border: none; border-radius: 9999px; width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color 0.2s; }
.gallery-nav button:hover { background-color: rgba(0, 0, 0, 0.6); }
.gallery-counter { position: absolute; top: 0.5rem; right: 0.5rem; background-color: rgba(0, 0, 0, 0.5); color: white; font-size: 0.75rem; font-weight: 500; padding: 0.25rem 0.6rem; border-radius: 9999px; }