/* Portada de la API (mismo diseño que la de swapidocumentoscore). */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

.landing-wrapper {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    background: radial-gradient(circle, #8fb5d5 0%, #4088c6 50%, #0b4a81 100%);
}

.landing-card {
    width: min(100%, 310px);
    background-color: #ffffff;
    padding: 30px 30px 15px 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.landing-title {
    color: #203047;
    font-size: 1.3rem;
    line-height: 1.3;
    font-weight: 700;
    text-align: center;
}

.landing-title-accent { color: #14bc3e; }

.landing-title-separator { margin: 0 5px; color: #203047; }

.landing-url-row { margin: 12px auto 8px; display: flex; justify-content: center; }

.landing-url-input {
    width: min(100%, 275px);
    height: 34px;
    border: 1px solid #999;
    border-right: 0;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    background-color: #efefef;
    color: #333;
    font-size: 1rem;
    line-height: 1;
    padding: 5px 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.landing-copy-button {
    position: relative;
    height: 34px;
    width: 35px;
    border: 1px solid #999;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: #cccccc;
    color: #222;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease;
}

.landing-copy-button:hover { background-color: #dddddd; }

.landing-copy-icon { width: 15px; height: 15px; }

.copy-tooltip {
    display: none;
    position: absolute;
    left: 90%;
    top: 95%;
    background-color: #135995;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    padding: 6px;
    border-radius: 5px;
    border-top-left-radius: 0;
    white-space: nowrap;
    z-index: 10;
}

.landing-copy-button:hover .copy-tooltip { display: inline-flex; }

.landing-version { margin: 6px 0 12px; text-align: center; color: #212121; font-size: 16px; }

.landing-version strong { font-weight: 700; }

.landing-brand { text-align: center; }

.landing-brand-image { width: 90px; height: auto; }

/* Lista de módulos publicados (solo en la portada de qa11modulos). */
.landing-modulos { margin: 0 0 14px; border-top: 1px solid #e2e2e2; padding-top: 10px; }
.landing-modulos[hidden] { display: none; }
.landing-modulos-titulo { font-size: 13px; color: #555; text-align: center; margin-bottom: 6px; }
.landing-modulo { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; color: #212121; padding: 3px 0; }
.landing-modulo a { color: #135995; text-decoration: none; }
.landing-modulo a:hover { text-decoration: underline; }
.landing-modulo-version { color: #555; font-variant-numeric: tabular-nums; }
.landing-modulo a, .landing-modulo-version { white-space: nowrap; }

/* Tarjeta más ancha que la de las API para que cada módulo quepa en una línea. */
.landing-card { width: min(100%, 440px); }
.landing-url-input { width: min(100%, 360px); }

@media (max-width: 600px) {
    .landing-card { padding: 24px 20px 14px; }
    .landing-title { font-size: 30px; }
    .landing-url-input { font-size: 16px; }
    .landing-brand-image { width: 220px; }
}
