﻿body {
}

.page-container {
    width: 100%;
    margin: auto;
    font-family: Tahoma;
}

/* HEADER */

.page-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 5px;
    padding-left: 10px;
    border-bottom: 2px solid #f1f1f1;
}

.page-title {
    font-size: 11pt;
    font-weight: bold;
    color: #0066FF;
    font-family: Tahoma;
}
.popup-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #ddd;
            padding-bottom: 8px;
            margin-bottom: 15px;
        }

        .popup-title {
            font-size: 16px;
            font-weight: bold;
            color: #0066FF;
        }

        .popup-body {
            margin-top: 10px;
        }


.main-layout {
    display: flex;
    gap: 25px;
    padding: 10px 10px;
}

.championship-info {
    font-size: 24px;
    margin: 0px 0 20px;
    font-weight: 700;
    color: #1d3e67;
}

.panel-iz {
    width: 250px;
    height: min-content;
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #f8f8f8;
}

.panel-iz-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.panel-iz-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* PANEL DERECHO */

.content {
    flex: 1;
}

.panel-iz-buttons {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.panel-iz-buttons-top {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.iconos_dl input {
    width: 30px;
    height: 30px;
}

.iconos_dl a i {
    font-size: 20px;
    margin-left: 12px;
    color: #8d8d8d;
    cursor: pointer;
}

    .iconos_dl a i:hover {
        color: #2F80ED;
    }
.icon-cl {
            color:var(--ic-color,#000000) ;
            font-size: var(--ic-fnt,16px);
            cursor: pointer;
            transition: .2s;
        }

            .icon-cl:hover {
                filter:brightness(0.77);
                transform: scale(1.1);
            }
.columna-param {
    display: flex;
    flex-direction: column;
    gap: var(--gp-cl,5px);
}

.form-row {
    display: flex;
    align-items: center;
    gap: 2px;
}
 .titulo-seccion {
            font-weight: bold;
            color: #006612;
            border-bottom: 1px solid #ddd;
            padding-bottom: 4px;
            margin-bottom: 6px;
        }


.actions {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

 .cards-container {
            display: grid;
            grid-template-columns: repeat(auto-fill,minmax(var(--crdc-mm,320px),1fr));
            gap: 20px;
        }
.img-contend {
    
            width: var(--cnd-img,30px);
            height: var(--cnd-img-h, var(--cnd-img, 30px));
            border-radius:var(--cnd-img-br, 0px);
            object-fit: contain;
            border: var(--cnd-img-b,none);
}
.f-cg {
            display: flex;
            align-items: center;
            gap: var(--fcgap,0px);
        }

.w100 {
    width:100%;
}
 .f-cl{
    width:100%;
    display:flex;
    flex-direction:column;
}
   .grid-param {
            display: grid;
            align-items: center;
            grid-template-columns: var(--colum-grp,auto);
            gap: var(--gap);
        }
     .popup-panel {
            background: white;
            border-radius: 8px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.3);
            padding: 20px;
            font-family: Tahoma;
        }
 .popup-panel:has(.btn-msg:hover) .msmAlt {
            display: flex;
            opacity: 1;
            transform: translateY(0);
        }

        .msmAlt {
            display: none;
            width: 100%; /* No se salga del ancho del popup */
            word-wrap: break-word; /* Hace salto de línea si es muy largo */
            white-space: normal; /* Asegura que respete saltos de línea */
            background: #fff3cd; /* Color de fondo tipo alerta */
            border: 1px solid #ffe69c;
            justify-content: center;
            text-align: center;
            border-radius: 4px;
            margin: 8px 0;
            color: #856404;
            font-size: 13px;
            overflow-wrap: break-word; /* Para palabras muy largas */
        }
/* BOTONES */
.btn {
    padding: 8px 18px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
    cursor: pointer;
}

.btn-propio {
    background: var(--btn-bck,#E74C3C);
    color: var(--btn-cl, white);
}

.btn-danger {
    background: #E74C3C;
    color: white;
}

.btn-primary {
    background: #2F80ED;
    color: white;
}

.btn-success {
    background: #27AE60;
    color: white;
}

.btn:hover {
    opacity: 0.9;
}
