/* style.css */
body {
    background-color: #0F1014;
    color: #FFFFFF;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.text-muted {
    color: #39FF14 !important; 
    font-weight: 500;
}

.navbar-custom {
    background-color: #1A1A1A;
    border-bottom: 2px solid #39FF14;
}
.card-custom {
    background-color: #1A1A1A;
    border: 1px solid #2A2A2A;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

/* 🚀 ACÁ ESTÁ LA MAGIA QUE MATA EL FONDO BLANCO */
.table {
    --bs-table-bg: transparent !important; /* Fuerza a Bootstrap a no usar fondo */
    color: #FFF;
}

.table-dark-custom {
    background-color: transparent !important;
    color: #FFF;
}
.table-dark-custom th {
    border-bottom: 2px solid #39FF14 !important;
    color: #FFFFFF !important; 
    font-weight: 600;
    font-size: 1.05rem;
    background-color: transparent !important;
}
.table-dark-custom td {
    border-bottom: 1px solid #2A2A2A !important;
    vertical-align: middle;
    color: #E0E0E0 !important; 
    background-color: transparent !important;
}

/* Arreglamos el color cuando pasás el mouse por encima (Hover) */
.table-hover > tbody > tr:hover > * {
    background-color: #222222 !important;
    color: #FFFFFF !important;
}

.btn-neon {
    background-color: transparent;
    color: #39FF14;
    border: 1px solid #39FF14;
    transition: all 0.3s ease;
}
.btn-neon:hover {
    background-color: #39FF14;
    color: #000;
    box-shadow: 0 0 10px #39FF14;
}
.badge-dispositivo {
    background-color: #222;
    border: 1px solid #444;
    padding: 6px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    margin: 3px;
    font-size: 0.85rem;
    color: #FFF;
}
.modal-content {
    background-color: #15161A;
    border: 1px solid #39FF14;
    color: white;
}

.form-control {
    background-color: #0F1014 !important; 
    border: 1px solid #444 !important;
    color: #FFFFFF !important; 
}
.form-control:focus {
    border-color: #39FF14 !important;
    box-shadow: 0 0 8px rgba(57, 255, 20, 0.4) !important;
}

/* =========================================
   📱 ADAPTACIÓN PARA CELULARES (Responsive)
   ========================================= */
@media (max-width: 768px) {
    .table-dark-custom thead {
        display: none;
    }
    
    .table-dark-custom, .table-dark-custom tbody, .table-dark-custom tr, .table-dark-custom td {
        display: block;
        width: 100%;
        background-color: transparent !important;
    }
    
    .table-dark-custom tr {
        margin-bottom: 15px;
        border: 1px solid #2A2A2A;
        border-radius: 10px;
        padding: 10px;
        background-color: #1A1A1A !important;
    }
    
    .table-dark-custom td {
        text-align: right;
        padding-left: 45%;
        position: relative;
        border-bottom: 1px solid #222 !important;
    }
    .table-dark-custom td:last-child {
        border-bottom: none !important;
        text-align: center;
        padding-left: 0;
        margin-top: 10px;
    }
    
    .table-dark-custom td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 40%;
        text-align: left;
        font-weight: bold;
        color: #39FF14; 
    }
}