/* Mafigo Enterprise - Military Brown, Gold & Black Theme */

:root {
    --milbrown-900: #3D2817;
    --milbrown-800: #5D3A1A;
    --gold-500: #D4AF37;
    --mafigoblack-900: #0A0A0A;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--mafigoblack-900);
    color: #e5e5e5;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #141414;
}
::-webkit-scrollbar-thumb {
    background: #5D3A1A;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D4AF37;
}

/* Animations */
@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}
.shimmer {
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.1), transparent);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Gold Glow */
.gold-glow {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

/* Input Autofill */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 0 0 0px 1000px #1C1C1C inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* Selection */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: #fff;
}

/* Chat bubble animation */
@keyframes pop-in {
    0% { opacity: 0; transform: scale(0.9) translateY(10px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
.chat-bubble {
    animation: pop-in 0.3s ease-out forwards;
}

/* Responsive tables */
@media (max-width: 768px) {
    .responsive-table thead {
        display: none;
    }
    .responsive-table tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid rgba(212,175,55,0.1);
        border-radius: 0.5rem;
        padding: 1rem;
    }
    .responsive-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(212,175,55,0.05);
    }
    .responsive-table td:last-child {
        border-bottom: none;
    }
    .responsive-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #D4AF37;
        margin-right: 1rem;
    }
}