/* === RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background-image: url('/img/Pantalla Publicación Linkedin - Fondo.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    flex-direction: column;
}

/* === CONTENIDO === */
.contenido {
    position: relative;
    height: auto;
    width: 60%;
}

.logo-corner {
    display: flex;
    justify-content: center;
}

.logo-corner img {
    width: 230px;
    margin-bottom: 20px;
}

/* === CONTENEDOR === */
.container {
    background-image: url('/img/Pantalla Publicación Linkedin-linkedIn.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    padding-bottom: 56.25%;
}

/* === SELECT PERSONALIZADO === */
.language-selector {
    position: absolute;
    top: 65px;
    right: 9%;
    z-index: 10;
    width: 135px;
}

.select-display {
    background: #020d23;
    color: #fff;
    padding: 5px 0px 5px 10px;
    border-radius: 10px;
    border: 1px solid #020d23;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.select-display::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    width: 8px;
    height: 8px;
    transform: translateY(-50%) rotate(45deg);
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.select-display::before {
    content: "";
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(255,255,255,0.6);
}

.select-options {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.select-option {
    padding: 10px 16px;
    cursor: pointer;
    color: #000;
    transition: all 0.2s ease;
}

.select-option:hover {
    background: #020d23;
    color: #fff;
}

.language-selector.active .select-options {
    display: block;
}

/* === BOTONES === */
.buttons {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, 0);
    display: flex;
    justify-content: center;
    gap: 1rem;
    width: 90%;
}

.btn {
    font-weight: 700;
    padding: 0.5rem 2rem;
    background-color: #0047b9;
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    transition: background 0.3s ease, transform 0.2s ease;
    border-radius: 8px;
}

.btn:hover {
    transform: translateY(-3px);
}

/* === ALERTA === */
.alert {
    background-color: #fdd;
    color: #a00;
    border: 1px solid #f00;
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

/* === RESPONSIVE === */
@media (max-width: 850px) {
    html, body { /* Elimina el padding y margin por defecto para que 100vh funcione */ margin: 0; padding: 0; /* Asegura que el elemento html también ocupe el 100% del alto disponible */ height: 100%; overflow: hidden; /* Opcional: Elimina cualquier barra de scroll accidental */ }
    
    .contenido { width: 100%; }

    .buttons {
        top: 85%;
        width: 80%;
        gap: 1rem;
    }

    .btn {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
        min-width: 120px;
    }
}
