/* ====== Layout general ====== */
.match-container {
    max-width: 1220px;
    margin-inline: auto;
    padding: 24px 16px 48px;
}

.titulo {
    font-size: clamp(40px, 4vw, 46px);
    margin: 0 0 0.8rem;
    text-align: center;
    font-style: normal;
    font-weight: 800;
    line-height: 108.611%; /* 45.616px */
}

.titulo-cdmx {
    background: var(--degradado-cdmx);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.titulo-gdl {
    background: var(--degradado-gdl);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.match-subtitle {
    max-width: 1100px;
    color: #545454;
    font-size: clamp(16px, 3vw, 18px);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-inline: 1rem;
}

/* ====== Buscador ====== */
.match-search {
    position: relative;
    max-width: 440px;
    margin: 16px auto 28px;
}

.match-search input {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 10px 44px 10px 44px;
    background: #f3f5f7;
    outline: none;
    font-size: 16px;
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

.match-search input:focus {
    background: #fff;
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.12);
}

.search-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    stroke: #8aa0b2;
    fill: none;
    stroke-width: 2;
}

/* ====== Grid ====== */
.match-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1rem;
    justify-content: center;
    justify-items: center;
}

/* ------------ Skeleton -------------*/
.skeleton-card {
    border-radius: 14px;
    background: linear-gradient(90deg, #f2f3f5 25%, #e9eaec 37%, #f2f3f5 63%);
    background-size: 100% 100%;
    animation: shimmer 0.4s ease infinite;
    height: 210px;
    width: 210px;
}

@keyframes shimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

/* Alerts */
div:where(.swal2-container).swal2-center,
.swal-custom-html,
.swal-custom-title {
    font-family: Avenir roman !important;
}

.swal-custom-title {
    color: #545454;
    font-size: 24px;
    font-weight: 900;
    padding-inline: 15%;
}

div:where(.swal2-container).swal2-center a.btn-20 {
    text-decoration: none;
    padding-inline: 0px;
    line-height: 110%;
}

div:where(.swal2-container).swal2-center input {
    border-radius: 20px;
}

.swal2-confirm.btn-20.btn-registrate {
    width: max-content;
}

.alert_succes_final .swal2-success-ring {
    background: var(--turquesa-medex);
    border-color: var(--turquesa-medex) !important;
}

.alert_succes_final
    div:where(.swal2-icon).swal2-success
    [class^='swal2-success-line'] {
    background-color: #f1f3f0;
    z-index: 999;
}

.alert_succes_final .swal2-title {
    font-weight: 900;
    color: #03a591;
    font-size: 32px;
}

.alert_succes_final .swal2-html-container {
    font-size: 16px !important;
    line-height: 1.5;
    color: #565656;
}
