:root {
    --bg-main: #f0f2f5;
    --primary: #17355c;
    --accent: #0d6efd;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

body {
    background-color: var(--bg-main);
    font-family: 'Open Sans', sans-serif;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

/* HEADER INSTITUCIONAL */
.kiosk-header {
    height: 80px;
    background: white;
    padding: 0 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    border-bottom: 3px solid var(--primary);
    position: relative;
    z-index: 100;
}

.main-logo { height: 45px; }
.divider { width: 2px; height: 30px; background: #ddd; margin: 0 20px; }
.header-title { font-size: 1.1rem; font-weight: 800; color: var(--primary); margin: 0; letter-spacing: 2px; }

.clock-box { text-align: right; line-height: 1; border-left: 2px solid #eee; padding-left: 20px; }
#digital-clock { display: block; font-size: 1.6rem; font-weight: 800; color: #333; }
#digital-date { font-size: 0.8rem; color: #888; text-transform: uppercase; font-weight: 600; }

.weather-info { font-weight: 700; font-size: 1.1rem; color: #444; }

/* GRID LAYOUT */
.kiosk-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    height: calc(100vh - 80px);
}

.kanban-wrapper {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--bg-main);
}

.kanban-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.5);
    border-radius: 20px;
    border: 1px solid #e1e4e8;
    overflow: hidden;
    transition: all 0.5s ease;
}

.column-header {
    padding: 15px 20px;
    background: white;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid currentColor;
}

.badge-count { background: #eee; color: #333; padding: 2px 10px; border-radius: 10px; font-size: 0.8rem; }
.kanban-body { padding: 15px; overflow-y: auto; flex: 1; }

/* TARJETAS */
.k-card {
    background: white;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    border-left: 6px solid transparent;
    animation: fadeIn 0.5s ease-out;
}

/* =========================================================================
   DISEÑO EXACTO DEL ERP (PATENTES Y LOGOS ORIGINALES DE SERVICEMOTORS)
   ========================================================================= */
.patente-scale-wrapper { 
    transform: scale(0.7); 
    transform-origin: left center; 
    margin-top: -5px; 
    margin-bottom: -10px; 
    height: 42px;
}

.patente-old, .patente-mercosur { 
    display: inline-flex; 
    justify-content: center; 
    align-items: center; 
    height: 42px; 
    min-width: 130px; 
    border-radius: 6px; 
    font-weight: bold; 
    position: relative; 
    box-shadow: 2px 2px 6px rgba(0,0,0,0.25); 
    text-transform: uppercase; 
    cursor: default; 
    user-select: none; 
    box-sizing: border-box; 
    line-height: 1; 
    transition: transform 0.2s; 
}

.patente-old { 
    background: linear-gradient(to bottom, #f4f4f4 0%, #f4f4f4 30%, #111 30%, #111 92%, #f4f4f4 92%, #f4f4f4 100%); 
    color: #fff; 
    border: 1px solid #bbb; 
    font-family: 'Courier New', Courier, monospace; 
    font-size: 1.6rem; 
    letter-spacing: 2px; 
    padding-top: 10px; 
    text-shadow: 0 0 3px rgba(255,255,255,0.6); 
}

.patente-old::before { 
    content: 'ARGENTINA'; 
    position: absolute; 
    top: 3px; 
    left: 0; 
    width: 100%; 
    text-align: center; 
    color: #5ea9dd; 
    font-family: Arial, Helvetica, sans-serif; 
    font-size: 8px; 
    font-weight: 700; 
    letter-spacing: 1px; 
    text-shadow: none; 
}

.patente-mercosur { 
    background: #fff; 
    color: #111; 
    border: 1px solid #111; 
    font-family: 'Arial', sans-serif; 
    font-size: 1.6rem; 
    letter-spacing: 1.5px; 
    padding-top: 14px; 
}

.patente-mercosur::before { 
    content: 'REPÚBLICA ARGENTINA'; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 14px; 
    background: #003399; 
    color: #fff; 
    font-size: 6px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: 700; 
    letter-spacing: 0.5px; 
    border-radius: 5px 5px 0 0; 
    z-index: 1; 
}

.patente-mercosur::after { 
    content: ''; 
    position: absolute; 
    top: 3px; 
    right: 4px; 
    width: 14px; 
    height: 9px; 
    background: linear-gradient(to bottom, #75AADB 33%, #fff 33%, #fff 66%, #75AADB 66%); 
    border: 0.5px solid rgba(255,255,255,0.3); 
    z-index: 2; 
}

.marca-logo-img { 
    width: 45px; 
    height: 45px; 
    object-fit: contain; 
    filter: grayscale(100%); 
    opacity: 0.7; 
    transition: all 0.2s; 
    cursor: pointer; 
}

.marca-logo-img:hover { 
    filter: grayscale(0%); 
    opacity: 1; 
    transform: scale(1.1); 
}

.smart-tag { 
    font-size: 0.7rem; 
    padding: 2px 6px; 
    border-radius: 4px; 
    background: #f0f2f5; 
    color: #555; 
    display: inline-flex; 
    align-items: center; 
    gap: 4px; 
    border: 1px solid #e1e4e8; 
    font-weight: 600; 
}
/* ========================================================================= */


/* VIDEO */
.video-wrapper { background: black; overflow: hidden; }
.player-inner { width: 100%; height: 100%; }
.fullscreen-video { width: 100%; height: 100%; object-fit: cover; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}