﻿/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #f0f8ff, #e0ffe0);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    padding: 20px;
}*/

/* Botón Swagger - SIEMPRE VISIBLE */
/*.swagger-btn-container {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 10000;
}

.swagger-btn {
    display: block;
    padding: 12px 20px;
    background: linear-gradient(45deg, #85bb65, #006400);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 100, 0, 0.4);
    border: 2px solid white;
    text-align: center;
    transition: all 0.3s ease;
}

    .swagger-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 100, 0, 0.6);
    }

.center {
    text-align: start;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-width: 90%;
    width: 100%;
    margin: 60px auto 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

    .center h1 {
        text-align: center;
        font-size: 2em;
        color: #006400;
        margin-bottom: 20px;
    }

    .center p {
        font-size: 1.1em;
        color: #333;
        line-height: 1.5;
    }

.floating {
    position: absolute;
    width: 50px;
    height: 50px;
    animation: floatRightToLeft 20s infinite linear;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}*/

/* Animación de DERECHA a IZQUIERDA */
/*@keyframes floatRightToLeft {
    0% {
        transform: translateX(100vw) translateY(-100px) rotate(0deg);
        opacity: 0;
    }

    15% {
        opacity: 0.6;
    }

    50% {
        transform: translateX(-50vw) translateY(40vh) rotate(180deg);
    }

    85% {
        opacity: 0.6;
    }

    100% {
        transform: translateX(-100vw) translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}*/

/* Animación de IZQUIERDA a DERECHA (para variedad) */
/*@keyframes floatLeftToRight {
    0% {
        transform: translateX(-100vw) translateY(-100px) rotate(0deg);
        opacity: 0;
    }

    15% {
        opacity: 0.6;
    }

    50% {
        transform: translateX(50vw) translateY(40vh) rotate(180deg);
    }

    85% {
        opacity: 0.6;
    }

    100% {
        transform: translateX(100vw) translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}


@keyframes float {
    0% {
        transform: translateY(-100px) translateX(-100px) rotate(0deg);
        opacity: 0;
    }

    15% {
        opacity: 0.6;
    }

    50% {
        transform: translateY(40vh) translateX(40vw) rotate(180deg);
    }

    85% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(100vh) translateX(100vw) rotate(360deg);
        opacity: 0;
    }
}*/

/* Responsive para móviles */
/*@media (max-width: 768px) {
    .swagger-btn-container {
        top: 10px;
        right: 10px;
    }

    .swagger-btn {
        padding: 10px 16px;
        font-size: 12px;
    }

    .center {
        padding: 25px 20px;
        margin: 50px auto 15px;
    }

        .center h1 {
            font-size: 1.7em;
            margin-bottom: 15px;
        }

        .center p {
            font-size: 1em;
        }

    .floating {
        width: 40px;
        height: 40px;
    }
}*/

/* Para tablets */
/*@media (min-width: 769px) and (max-width: 1024px) {
    .center {
        max-width: 80%;
        padding: 40px;
    }

        .center h1 {
            font-size: 2.2em;
        }
}*/

/* Para desktop */
/*@media (min-width: 1025px) {
    .swagger-btn {
        padding: 15px 25px;
        font-size: 16px;
    }

    .center {
        max-width: 600px;
        padding: 50px;
    }

        .center h1 {
            font-size: 2.5em;
        }

        .center p {
            font-size: 1.2em;
        }

    .floating {
        width: 60px;
        height: 60px;
    }
}*/

/* Asegurar que el botón esté siempre encima */
/*.swagger-btn-container {
    z-index: 9999 !important;
}

.floating {
    z-index: 1 !important;
}*/


/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #f0f8ff, #e0ffe0);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;*/ /* 👈 Cambiado de overflow-x: hidden a overflow: hidden */
    /*position: relative;
    padding: 20px;
}*/

    /* 👇 OCULTAR LA PUBLICIDAD DE SOMEE */
    /*body > center:last-of-type,
    body > a[href*="somee"],
    body > div:empty,
    body > p:contains("Hosted Windows Virtual Server"),
    body > p:contains("Web hosting by"),
    body > hr {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
    }*/

/* Botón Swagger - SIEMPRE VISIBLE */
/*.swagger-btn-container {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 10000;
}

.swagger-btn {
    display: block;
    padding: 12px 20px;
    background: linear-gradient(45deg, #85bb65, #006400);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 100, 0, 0.4);
    border: 2px solid white;
    text-align: center;
    transition: all 0.3s ease;
}

    .swagger-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 100, 0, 0.6);
    }

.center {
    text-align: start;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-width: 90%;
    width: 100%;
    margin: 60px auto 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

    .center h1 {
        text-align: center;
        font-size: 2em;
        color: #006400;
        margin-bottom: 20px;
    }

    .center p {
        font-size: 1.1em;
        color: #333;
        line-height: 1.5;
    }

.floating {
    position: absolute;
    width: 50px;
    height: 50px;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}*/

/* Animación de DERECHA a IZQUIERDA - CORREGIDA */
/*@keyframes floatRightToLeft {
    0% {
        transform: translateX(100%) translateY(-100px) rotate(0deg);
        opacity: 0;
    }

    15% {
        opacity: 0.6;
    }

    50% {
        transform: translateX(-50%) translateY(40vh) rotate(180deg);
    }

    85% {
        opacity: 0.6;
    }

    100% {
        transform: translateX(-100%) translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}*/

/* Animación de IZQUIERDA a DERECHA - CORREGIDA */
/*@keyframes floatLeftToRight {
    0% {
        transform: translateX(-100%) translateY(-100px) rotate(0deg);
        opacity: 0;
    }

    15% {
        opacity: 0.6;
    }

    50% {
        transform: translateX(50%) translateY(40vh) rotate(180deg);
    }

    85% {
        opacity: 0.6;
    }

    100% {
        transform: translateX(100%) translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}*/

/* Eliminar la animación float original que no se usa */
/* @keyframes float { ... } */

/* Responsive para móviles */
/*@media (max-width: 768px) {
    .swagger-btn-container {
        top: 10px;
        right: 10px;
    }

    .swagger-btn {
        padding: 10px 16px;
        font-size: 12px;
    }

    .center {
        padding: 25px 20px;
        margin: 50px auto 15px;
    }

        .center h1 {
            font-size: 1.7em;
            margin-bottom: 15px;
        }

        .center p {
            font-size: 1em;
        }

    .floating {
        width: 40px;
        height: 40px;
    }
}*/

/* Para tablets */
/*@media (min-width: 769px) and (max-width: 1024px) {
    .center {
        max-width: 80%;
        padding: 40px;
    }

        .center h1 {
            font-size: 2.2em;
        }
}*/

/* Para desktop */
/*@media (min-width: 1025px) {
    .swagger-btn {
        padding: 15px 25px;
        font-size: 16px;
    }

    .center {
        max-width: 600px;
        padding: 50px;
    }

        .center h1 {
            font-size: 2.5em;
        }

        .center p {
            font-size: 1.2em;
        }

    .floating {
        width: 60px;
        height: 60px;
    }
}*/

/* Asegurar que el botón esté siempre encima */
/*.swagger-btn-container {
    z-index: 9999 !important;
}

.floating {
    z-index: 1 !important;
}*/


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #f0f8ff, #e0ffe0);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    padding: 20px;
}

    /* Estilos para la publicidad de Somee - EN LA PARTE INFERIOR */
    body > center:last-of-type,
    body > a[href*="somee"],
    body > div:empty,
    body > p:contains("Hosted Windows Virtual Server"),
    body > p:contains("Web hosting by"),
    body > hr {
        position: fixed !important;
        bottom: 10px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        text-align: center !important;
        z-index: 9998 !important;
        background: rgba(255, 255, 255, 0.9) !important;
        padding: 10px 15px !important;
        border-radius: 10px !important;
        font-size: 12px !important;
        color: #666 !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
        border: 1px solid #ddd !important;
        width: auto !important;
        max-width: 90% !important;
        margin: 0 !important;
    }

    /* Estilo específico para el enlace de Somee */
    body > a[href*="somee"] {
        color: #006400 !important;
        text-decoration: none !important;
        font-weight: bold !important;
    }

        body > a[href*="somee"]:hover {
            color: #85bb65 !important;
            text-decoration: underline !important;
        }

    /* Ocultar elementos duplicados o no deseados */
    body > center:not(:last-of-type),
    body > hr:not(:first-of-type) {
        display: none !important;
    }

/* Botón Swagger - SIEMPRE VISIBLE */
.swagger-btn-container {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 10000;
}

.swagger-btn {
    display: block;
    padding: 12px 20px;
    background: linear-gradient(45deg, #85bb65, #006400);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 100, 0, 0.4);
    border: 2px solid white;
    text-align: center;
    transition: all 0.3s ease;
}

    .swagger-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 100, 0, 0.6);
    }

.center {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-width: 90%;
    width: 100%;
    margin: 60px auto 80px ; /* Más margen inferior para la publicidad */
    border: 2px solid rgba(255, 255, 255, 0.3);
}

    .center h1 {
        font-size: 2em;
        color: #006400;
        margin-bottom: 20px;
    }

    .center p {
        text-align: start;
        font-size: 1.1em;
        color: #333;
        line-height: 1.5;
    }

.floating {
    position: absolute;
    width: 50px;
    height: 50px;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

/* Animación de DERECHA a IZQUIERDA */
@keyframes floatRightToLeft {
    0% {
        transform: translateX(100%) translateY(-100px) rotate(0deg);
        opacity: 0;
    }

    15% {
        opacity: 0.6;
    }

    50% {
        transform: translateX(-50%) translateY(40vh) rotate(180deg);
    }

    85% {
        opacity: 0.6;
    }

    100% {
        transform: translateX(-100%) translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Animación de IZQUIERDA a DERECHA */
@keyframes floatLeftToRight {
    0% {
        transform: translateX(-100%) translateY(-100px) rotate(0deg);
        opacity: 0;
    }

    15% {
        opacity: 0.6;
    }

    50% {
        transform: translateX(50%) translateY(40vh) rotate(180deg);
    }

    85% {
        opacity: 0.6;
    }

    100% {
        transform: translateX(100%) translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .swagger-btn-container {
        top: 10px;
        right: 10px;
    }

    .swagger-btn {
        padding: 10px 16px;
        font-size: 12px;
    }

    .center {
        padding: 25px 20px;
        margin: 50px auto 70px;
    }

        .center h1 {
            font-size: 1.7em;
            margin-bottom: 15px;
        }

        .center p {
            font-size: 1em;
        }

    .floating {
        width: 40px;
        height: 40px;
    }

    /* Publicidad más compacta en móviles */
    body > center:last-of-type,
    body > a[href*="somee"],
    body > p:contains("Hosted Windows Virtual Server"),
    body > p:contains("Web hosting by") {
        font-size: 10px !important;
        padding: 8px 12px !important;
        bottom: 5px !important;
    }
}

/* Para desktop */
@media (min-width: 1025px) {
    .swagger-btn {
        padding: 15px 25px;
        font-size: 16px;
    }

    .center {
        max-width: 600px;
        padding: 50px;
        margin: 60px auto 100px;
    }

        .center h1 {
            font-size: 2.5em;
        }

        .center p {
            font-size: 1.2em;
        }

    .floating {
        width: 60px;
        height: 60px;
    }
}

/* Asegurar que el botón esté siempre encima */
.swagger-btn-container {
    z-index: 10000 !important;
}

.floating {
    z-index: 1 !important;
}

/* Espacio adicional en el fondo para la publicidad */
body::after {
    content: '';
    display: block;
    height: 50px;
    width: 100%;
}