/* =========================
   BODY
========================= */
body.app-body {

    margin: 0;
    padding: 20px;

    background: #ececec;

    font-family: 'Inter', sans-serif;

    display: flex;
    justify-content: center;
}


/* =========================
   WRAPPER
========================= */
.app-wrapper {

    width: 100%;
    max-width: 900px;

    margin: 0 auto;
}


/* =========================
   CARD APP
========================= */
.app-card {

    background: white;

    border-radius: 28px;

    overflow: hidden;

    box-shadow:
        0 15px 40px rgba(0,0,0,.12);
}
/* =========================
   CARD FORMULARIO
========================= */

.formulario-card {
    max-width: 900px;
    margin: auto;
    background: #ffffff;
}

/* =========================
   TITULOS DE SECCION
========================= */

.seccion-titulo {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 1rem;
    font-weight: 700;
    color: #198754;

    margin-bottom: -5px;
}

.seccion-titulo i {
    font-size: 1.1rem;
}

/* =========================
   INPUTS
========================= */

.form-floating > .form-control {
    border-radius: 14px;
    border: 1px solid #dfe5ec;
    min-height: 58px;
}

.form-floating > label {
    color: #6c757d;
}

.form-control:focus {
    border-color: #198754;
    box-shadow: 0 0 0 .15rem rgba(25, 135, 84, .15);
}

/* =========================
   BOTONES
========================= */

.btn {
    height: 45px;
    font-weight: 600;
}
/* =========================
   BOTON HAMBURGUESA
========================= */

.header-nav .nav-link.nav-icon i {
    color: #fff !important;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

    body.app-body {

        padding: 10px;
    }

    .app-wrapper {

        max-width: 100%;
    }

    .formulario-card {

        border-radius: 22px;
    }
}

/* =========================
   HEADER
========================= */
.app-header {
    height: 100px;
    padding: 0 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    /* Fondo con imagen y degradado */
    background:
        linear-gradient(
        180deg,
        rgba(13, 92, 171, 0.85),
        rgba(8, 47, 90, 0.85)
        ),
        url('/img/estadio.png');

    background-size: cover;       /* Ajusta la imagen al ancho */
    background-position: center;  /* Centra la imagen */
    background-repeat: no-repeat; /* Evita repeticiones */
}


/* =========================
   LOGO
========================= */
.header-logo {

    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo img {

    width: 85px;
    height: 85px;

    object-fit: contain;
}



/* =========================
   MENU
========================= */
.menu-btn {

    width: 44px;
    height: 44px;

    border-radius: 50% !important;

    background: rgba(255,255,255,.12) !important;

    border: 1px solid rgba(255,255,255,.18);

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

    padding: 0;
}

/* ICONO */

.menu-btn i {

    color: #fff !important;

    font-size: 30px !important;

    line-height: 1;
}

.menu-user {
    text-align: center;
    padding: 10px;
}
.menu-user .user-name {
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}
.menu-user small {
    display: block;
    opacity: .8;
}


/* =========================
   CONTENIDO
========================= */
.content-area {

    padding-bottom: 20px;
}


/* =========================
   CABECERA
========================= */
.titulo {

    background:#00072e;

    color: white;

    padding: 15px 10px;

    text-align: center;
}

.match-header h1 {

    margin: 0;

    font-size: 42px;
    font-weight: 900;
}

.match-header span {

    display: block;

    margin-top: 10px;

    font-size: 22px;
}


/* =========================
   SCORE
========================= */
.score-area {

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 35px 20px;
}


/* =========================
   EQUIPOS
========================= */
.team-box {

    width: 120px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.team-box img {

    width: 90px;
    height: 90px;

    object-fit: contain;
}

.team-box span {

    margin-top: 12px;

    font-size: 20px;
    font-weight: 800;
}


/* =========================
   MARCADOR
========================= */
.score-box {

    display: flex;
    align-items: center;
    gap: 10px;
}

.score-box input {

    width: 60px;
    height: 70px;

    border-radius: 14px;

    border: 2px solid #d9d9d9;

    text-align: center;

    font-size: 40px;
    font-weight: 900;
}

.score-box span {

    font-size: 46px;
    font-weight: 900;
}


/* =========================
   DETAILS
========================= */
.details-card {

    padding: 0 20px;
}

.detail-item {

    border: 1px solid #d9d9d9;

    border-radius: 16px;

    padding: 16px;
}

.detail-item label {

    display: block;

    margin-bottom: 10px;

    font-weight: 700;
}


/* =========================
   FOOTER
========================= */
.footer {
    padding: 20px;
    text-align: center;   /* centra todo el contenido */
    font-size: 14px;
    color: #6b7280;
    width: 100%;
}
.footer .copyright,
.footer .credits {
    display: block;       /* cada uno en su línea */
    margin: 5px 0;
}

/* ========================= */
/* INPUT GOLES */
/* ========================= */

#marcadorLocal,
#marcadorVisitante{
    min-height: 72px;
    letter-spacing: 1px;
}