/* static/custom.css - Dark Premium FORZATO */

/* Reset completo sfondo */
body, html {
    background: #0a0e1a !important;
    background-color: #0a0e1a !important;
}

body {
    background: #0a0e1a !important;
    color: #e0e0e0 !important;
}

/* Forza sfondo a TUTTI gli elementi */
div, section, main, .container, .container-fluid, .row, .col {
    background: transparent !important;
}

/* Navbar */
.navbar, .navbar-dark, nav {
    background: #0a0e1a !important;
    border-bottom: 1px solid #2a2f3f !important;
}

/* Card e contenitori principali */
.card, .table-responsive, .bg-white, .bg-light, .shadow-sm, .shadow {
    background: rgba(18, 24, 38, 0.95) !important;
    backdrop-filter: blur(2px) !important;
    border: 1px solid #2a2f3f !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    color: #e0e0e0 !important;
}

/* FORZA TABELLA COMPLETAMENTE SCURA */
table, .table, .table-bordered, .table-striped {
    background: rgba(18, 24, 38, 0.95) !important;
    color: #e0e0e0 !important;
    border-color: #2a2f3f !important;
}

.table thead, .table thead tr, .table thead th {
    background: #1a202e !important;
    color: #a0aec0 !important;
    border-bottom: 2px solid #2a2f3f !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.table tbody tr, .table tbody td {
    background: transparent !important;
    border-bottom: 1px solid #2a2f3f !important;
    color: #e0e0e0 !important;
}

.table tbody tr:hover {
    background: rgba(0, 210, 255, 0.08) !important;
}

/* Badge BUY con effetto neon */
.badge.bg-success, 
span.badge.bg-success,
.bg-success {
    background: #00d27f !important;
    background-color: #00d27f !important;
    box-shadow: 0 0 10px #00d27f !important;
    color: #000 !important;
    font-weight: 700 !important;
    padding: 5px 12px !important;
    border-radius: 20px !important;
}

/* Badge SELL con effetto neon */
.badge.bg-danger,
span.badge.bg-danger,
.bg-danger {
    background: #ff4d4d !important;
    background-color: #ff4d4d !important;
    box-shadow: 0 0 10px #ff4d4d !important;
    color: #fff !important;
    font-weight: 700 !important;
    padding: 5px 12px !important;
    border-radius: 20px !important;
}

/* Badge esiti */
.badge.bg-warning, .bg-warning {
    background: #f59e0b !important;
    box-shadow: 0 0 8px #f59e0b !important;
    color: #000 !important;
}

/* Pulsanti */
.btn-primary {
    background: linear-gradient(135deg, #3a7bd5, #00d2ff) !important;
    border: none !important;
    border-radius: 40px !important;
}

.btn-outline-danger {
    border: 1px solid #ff4d4d !important;
    color: #ff4d4d !important;
    border-radius: 40px !important;
}

.btn-outline-danger:hover {
    background: #ff4d4d !important;
    color: #fff !important;
}

/* Form */
.form-control, .form-select {
    background: #1a202e !important;
    border: 1px solid #2a2f3f !important;
    color: #e0e0e0 !important;
    border-radius: 12px !important;
}

.form-control:focus, .form-select:focus {
    border-color: #00d2ff !important;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.3) !important;
}

/* Testi profitto */
.text-success, .text-success small {
    color: #00d27f !important;
    font-weight: 600;
}

.text-danger, .text-danger small {
    color: #ff4d4d !important;
    font-weight: 600;
}

/* Link e testo normale */
a, .nav-link, .text-dark, .text-muted {
    color: #a0aec0 !important;
}

a:hover, .nav-link:hover {
    color: #00d2ff !important;
}

/* Titoli */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    color: #e0e0e0 !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1a202e;
}

::-webkit-scrollbar-thumb {
    background: #2a2f3f;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00d2ff;
}