/*
 * Selector de país inline (no modal).
 * Se muestra dentro de la home master cuando no hay país elegido.
 * Las tarjetas tienen tamaño cómodo para click en mobile y desktop.
 */

.pais-picker-inline {
    background: linear-gradient(180deg, #f7f7f9 0%, #ffffff 100%);
    padding: 56px 0 64px;
    font-family: 'Roboto', system-ui, sans-serif;
    scroll-margin-top: 24px;
}

html { scroll-behavior: smooth; }

.pais-picker-inline__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 36px;
}

.pais-picker-inline__header h2 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    color: #1a1a1a;
}

.pais-picker-inline__header h2::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    background: #c8102e;
    margin: 14px auto 0;
    border-radius: 2px;
}

.pais-picker-inline__header p {
    margin: 0;
    color: #5b6770;
    font-size: 16px;
    line-height: 1.55;
}

.pais-picker-inline__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 14px;
    max-width: 1080px;
    margin: 0 auto;
}

.pais-picker-inline__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s, transform 0.05s, box-shadow 0.15s;
    font: inherit;
    color: #1a1a1a;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.pais-picker-inline__item:hover {
    border-color: #c8102e;
    box-shadow: 0 4px 14px rgba(200, 16, 46, 0.12);
    transform: translateY(-1px);
}

.pais-picker-inline__item:active {
    transform: translateY(0);
}

.pais-picker-inline__item img {
    width: 40px;
    height: 28px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.pais-picker-inline__item span {
    font-size: 15px;
    font-weight: 500;
}

@media (max-width: 480px) {
    .pais-picker-inline { padding: 40px 0 48px; }
    .pais-picker-inline__header h2 { font-size: 24px; }
    .pais-picker-inline__header p  { font-size: 15px; }
    .pais-picker-inline__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .pais-picker-inline__item { padding: 12px; }
    .pais-picker-inline__item span { font-size: 14px; }
}
