/* ============ SHARED STYLES - CAMISALE.WORK ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    background: #F8FAFC;
    color: #0F172A;
    -webkit-font-smoothing: antialiased;
}

:root {
    --camisale-gold: #D4AF37;
    --camisale-gold-light: #FFD700;
    --camisale-dark: #0F172A;
    --camisale-gray: #475569;
    --agentic-green: #00ff9d;
    --agentic-dark: #0a0e14;
    --ayllu-green: #2E7D32;
    --web-blue: #2563EB;
    --db-online: #4CAF50;
    --db-offline: #F44336;
    --db-testing: #FF9800;
}

/* ============ HEADER ============ */
.camisale-header {
    background: #FFFFFF;
    padding: 0.5rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid #E2E8F0;
    position: relative;
    z-index: 100;
    min-height: 170px;
}

.logo-camisale {
    height: 160px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}
.logo-camisale:hover { transform: scale(1.03); }

.camisale-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
    flex-wrap: wrap;
}
.camisale-nav a {
    color: var(--camisale-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.2s;
}
.camisale-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--camisale-dark);
    transition: width 0.3s ease;
}
.camisale-nav a:hover::after { width: 100%; }
.camisale-nav a:hover { color: #000; }

.btn-camisale {
    background: var(--camisale-dark);
    color: var(--camisale-gold-light);
    padding: 0.9rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}
.btn-camisale:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.3);
    background: #1E293B;
}

footer {
    text-align: center;
    padding: 2.5rem 2rem;
    color: #64748B;
    background: #F1F5F9;
    font-size: 0.9rem;
}

/* ============ DB STATUS BADGE ============ */
.db-status-badge {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 18px;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}
.db-status-badge.online { border: 2px solid var(--db-online); color: #2E7D32; }
.db-status-badge.offline { border: 2px solid var(--db-offline); color: #C62828; }
.db-status-badge.testing { border: 2px solid var(--db-testing); color: #E65100; }

.db-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: pulse-status 2s infinite;
}
.db-status-dot.online { background: var(--db-online); }
.db-status-dot.offline { background: var(--db-offline); animation: none; }
.db-status-dot.testing { background: var(--db-testing); }
@keyframes pulse-status {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* ============ AGENTE FLOTANTE ============ */
.agente-flotante {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--agentic-green) 0%, #00cc7a 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--agentic-dark);
    font-weight: bold;
    box-shadow: 0 8px 30px rgba(0, 255, 157, 0.5);
    transition: all 0.3s ease;
    z-index: 9999;
    border: 2px solid rgba(0, 255, 157, 0.7);
    animation: pulse-agente 2s infinite;
    cursor: pointer;
}
.agente-flotante:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 40px rgba(0, 255, 157, 0.8);
}
.agente-flotante .icono { font-size: 28px; line-height: 1; }
.agente-flotante .texto {
    font-size: 10px;
    letter-spacing: 1px;
    margin-top: 2px;
    font-family: 'Courier New', monospace;
    font-weight: 900;
}
@keyframes pulse-agente {
    0%, 100% { box-shadow: 0 8px 30px rgba(0, 255, 157, 0.5); }
    50% { box-shadow: 0 8px 45px rgba(0, 255, 157, 0.9); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .camisale-header { flex-direction: column; text-align: center; padding: 1rem; }
    .camisale-nav { justify-content: center; gap: 1rem; }
    .logo-camisale { height: 140px; }
    .agente-flotante { width: 60px; height: 60px; bottom: 15px; right: 15px; }
    .agente-flotante .icono { font-size: 24px; }
    .db-status-badge { top: 10px; right: 10px; font-size: 11px; padding: 6px 12px; }
}
