﻿/* =======================
   🎨 Estilo PROMETEO IT SOLUTIONS
   ======================= */

body {
    background-color: #f4f4f4;
    font-family: 'Segoe UI', Arial, sans-serif;
}

h2 {
    color: #222;
    font-weight: 600;
    margin-bottom: 10px;
}

/* === Botones con borde degradado === */
.btn-border {
    background-color: #fff;
    color: #222;
    border: 2px solid;
    border-image: linear-gradient(90deg, #ff6600, #c81d25) 1;
    border-radius: 8px;
    padding: 6px 18px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

    .btn-border:hover {
        background: linear-gradient(90deg, #ff6600, #c81d25);
        color: #fff;
        border: 2px solid transparent;
        transform: translateY(-1px);
    }

/* === Tabla Prometeo === */
table.table-prometeo {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    border-radius: 6px;
    overflow: hidden;
}

    table.table-prometeo th {
        background-color: #1e1e1e;
        color: #fff;
        text-transform: uppercase;
        font-size: 0.8rem;
        letter-spacing: 0.5px;
        padding: 8px 10px;
        text-align: left;
    }

    table.table-prometeo td {
        padding: 6px 10px;
        vertical-align: middle;
        font-size: 0.88rem;
    }

    table.table-prometeo tr:nth-child(even) {
        background-color: #fafafa;
    }

    table.table-prometeo tr:hover {
        background-color: #fff3f0;
    }

select.form-select-sm,
input.form-control-sm {
    font-size: 0.85rem;
    padding: 4px 6px;
}

.table-container {
    border-radius: 8px;
    overflow-x: auto;
}

/* === Encabezado con logo === */
.header-bar {
    background: #1e1e1e;
    color: white;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid #c81d25;
}

    .header-bar img {
        height: 40px;
    }

.header-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-left: 10px;
}

.header-right {
    font-size: 0.85rem;
    color: #ccc;
}


.table-prometeo {
    table-layout: fixed;
    width: 100%;
}

.col-idgm {
    display: none !important;
}

/* Friendly / Device / Marbete */
.col-friendly { width: 80px; }
.col-device { width: 160px; }
.col-marbete { width: 100px; }

/* Juego: flexible pero controlado */
.col-juego {
    min-width: 180px;
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Fabricante: más corto */
.col-manufacturer {
    min-width: 120px;
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Local: el que más puede crecer */
.col-local {
    min-width: 220px;
    max-width: 320px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Protocolo */
.col-protocolo { width: 90px; }
