/* General */
html,
body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: "Segoe UI", sans-serif;
    background-color: #ffffff;
}

/* Header */
.header {
    background: linear-gradient(135deg, #002060, #0F143E);
    color: #fff;
    padding: 10px 10px;
    text-align: center;
    border-bottom: 3px solid #FCDE02;
}

.header h1 {
    margin: 0;
    font-size: 42px;
    letter-spacing: 2px;
    font-weight: bolder;
}

.header .subtitle {
    margin: 0;
    font-size: 14px;
    color: #ddd;
}

/* Contenedor principal */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contenido {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 20px;
    flex-wrap: wrap;
}

.col-derecha {
    flex: 1;
    min-width: 320px;
    max-width: 500px;
}

.col-izquierda {
    flex: 1;
    min-width: 320px;
    max-width: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.col-derecha img {
    border-radius: 10px;
}

/* Tarjetas */
.recurso {
    display: flex;
    align-items: center;
    font-size: 12px;
    padding: 8px 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    background-color: rgba(235, 243, 252);
}

.recurso:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.recurso img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-right: 12px;
}

.recurso b {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    color: #333;
}

.recurso p {
    margin: 0;
    line-height: 1.2;
}

.recurso.deshabilitado {
    pointer-events: none;
    cursor: default;
}

.recurso.deshabilitado img {
    filter: grayscale(100%);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #002060, #0F143E);
    color: #ddd;
    text-align: center;
    padding: 10px 15px;
    font-size: 13px;
    position: relative;
}

.footer a {
    color: #FCDE02;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer .go-top {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #FCDE02;
    font-size: 18px;
}