/*
 Theme Name:   Child
 Theme URI:    http://tudominio.com
 Description:  Tema hijo
 Author:       Tu Nombre
 Author URI:   http://tudominio.com
 Template:     hello-elementor
 Version:      1.0.0
*/

/* Aquí puedes añadir tus estilos personalizados (CSS) */

button:hover {
    background: #24336D !important;
}

button:focus {
    background-color: #24336D !important;
}

.elementor-button[type="submit"] {
    background: #25346E !important;
}

.matchinfo a {
    color: #24336D !important;
}

/* width 100% para los partidos */
.matchinfo.new-layout .match-card {
    width: 100%;
}

/* botones del menu registrar e ingresar */
header .elementor-nav-menu {
    align-items: center;
    gap: 24px;
}

/* Base de ambos botones */
header .elementor-nav-menu .btn-registrarse>a,
header .elementor-nav-menu .btn-ingresar>a {
    min-width: 130px;
    height: 28px;
    padding: 0 28px !important;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 4px;
    border: 1px solid transparent;

    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.3px;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

/* Base de ambos botones */
header .elementor-nav-menu .btn-ingresar>a {
    border-color: #25346E !important;
}

/* Registrarse */
header .elementor-nav-menu .btn-registrarse>a {
    background-color: #f3ead8;
    color: #14265c;
    border-color: #f3ead8;
}

/* Hover Registrarse: estilo invertido */
header .elementor-nav-menu .btn-registrarse>a:hover {
    background-color: transparent;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

/* Ingresar */
header .elementor-nav-menu .btn-ingresar>a {
    background-color: transparent;
    color: #f3ead8;
    border-color: transparent;
}

/* Hover Ingresar: estilo invertido */
header .elementor-nav-menu .btn-ingresar>a:hover {
    background-color: #25346E;
    color: #ffffff !important;
    border-color: #25346E;
}

/* ranking */
.ranking-container {
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.ranking-table {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ranking-row {
    display: grid;
    grid-template-columns: 110px 1fr 170px;
    align-items: center;
    background: #c9983b;
    border-radius: 14px;
    overflow: hidden;
    min-height: 62px;
    border: 2px solid #2d3d8f;
}

.ranking-position {
    text-align: center;
    color: #fff7dd;
    font-size: 22px;
    font-weight: bold;
    border-right: 2px solid #2d3d8f;
    padding: 10px;
    line-height: 1.1;
}

.ranking-name {
    color: #1f2f7a;
    font-size: 22px;
    font-weight: 700;
    padding: 0 20px;
}

.ranking-points {
    color: #1f2f7a;
    font-size: 18px;
    font-weight: 700;
    background: #f5d9cf;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 4px;
    margin-right: 20px;
    justify-self: end;
}

.top-1 .ranking-position,
.top-2 .ranking-position,
.top-3 .ranking-position {
    font-size: 26px;
}

/* predicciones */
.matchinfo .matchtype {
    flex: 0 0 100%;
    width: 320px !important;
    margin: 20px auto 30px !important;
    padding: 10px 20px !important;
    text-align: center;
    background: #ffffff !important;
    border: 1px solid #b99443;
    border-radius: 10px;
    color: #313864 !important;
    font-size: 22px;
    font-weight: 700 !important;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.fp-prediction-form {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.match-card {
    width: 220px;
    background: #efefef;
    border: 1px solid #b99443;
    border-radius: 12px;
    padding: 14px 16px 18px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.match-card-header {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.match-card-header .matchdate {
    font-size: 22px !important;
    font-weight: 700;
    color: #24346d;
    text-align: center !important;
}

.match-card-header .time {
    font-size: 14px !important;
    color: #414663;
    text-align: center !important;
}

.match-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
}



.match-card .home,
.match-card .away {
    font-size: 14px !important;
    color: #24346d;
}

.flag.home img,
.flag.away img {
    width: 54px !important;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #b99443;
    background: #fff;
}

.match-card .flag.home {
    position: relative;
}

.match-card .flag.home::before {
    content: "VS" !important;
    position: absolute;
    top: 76%;
    right: 6%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 700;
    color: #b99443;
    font-style: italic;
}

.score {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.score .actual-score {
    display: block;
}

.score input {
    width: 55px !important;
    height: 34px !important;
    border: 1px solid #b99443 !important;
    border-radius: 6px !important;
    background: #fff !important;
    text-align: center !important;
    font-size: 18px !important;
    outline: none !important;
}

.argentina_prediccion .matchinfo.new-layout .match-card {
    width: calc(33% - 4px) !important;
}

#fp-matches-ajax-content {
    max-width: 700px;
    margin: auto;
}

/* shortcode grupos banderas */
.fp-group-header {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    margin: 20px 0 35px;

}


.fp-group-name {

    color: #c49b43;

    font-size: 28px;

    font-weight: 300;

    letter-spacing: 1px;

}


/* CONTENEDOR BANDERAS */

.fp-group-flags {

    display: flex;

    align-items: center;

    gap: 8px;

}


/* BANDERAS COMO EN EL MOCKUP */

.fp-group-flags img {

    width: 42px !important;

    height: 42px !important;

    object-fit: cover !important;

    border-radius: 50% !important;

    border: 2px solid #c49b43 !important;

    background: #fff !important;

    box-shadow: 0 2px 4px rgba(0, 0, 0, .15) !important;

}

.perfil_puntos {
    color: #c49b43;
    font-size: 56px;
    font-weight: 300;
    font-family: Arial, sans-serif;
}


/* ocultar estadisticas */
.elementor-shortcode .statistics {
    display: none;
}


@media (max-width: 480px) {
    header .elementor-nav-menu li {
        display: inline;
    }
}