@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

:root {
    --primary: #007BFF;
    --secondary: #6C757D;
    --light: #F8F9FA;
    --dark: #343A40;
    --border: #DEE2E6;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    background: rgba(255, 255, 255, 0.75);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 400px;
}

h1 {
    font-size: 1.75rem;
    text-align: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
}


input[type="email"],
button {
    width: 100%;
    padding: 0.75rem;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box; /* asegura que padding no cambie el ancho */
}

input[type="email"] {
    margin-bottom: 1rem;
    border: 1px solid var(--border);
}

button {
    border: none;
    font-weight: 500;
    background-color: var(--primary);
    color: white;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 0.5rem;
}


button:hover {
    background-color: #0056b3;
}

#result {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: var(--light);
    border-left: 4px solid var(--primary);
    border-radius: 5px;
}

.link-button {
    color: var(--primary);
    text-decoration: underline;
    word-break: break-all;
}

.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(0,0,0,0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#statusMessage {
    font-size: 1rem;
    color: var(--text-secondary);
    display: flex;
    justify-content: flex-start;  /* Alineado a la izquierda */
    align-items: center;          /* Centrado verticalmente */
    gap: 0.5rem;
    padding: 0.5rem 0;
    text-align: left;
}

.link-button {
    display: inline-block;
    margin: 10px 0;
    padding: 10px;
    background: #f0f8ff;
    border: 1px solid #3498db;
    border-radius: 5px;
    word-break: break-all;
    color: #3498db;
    text-decoration: none;
}

.link-button:hover {
    background: #e1f0fa;
}

#linkResult button {
    margin-left: 10px;
    padding: 10px 15px;
    background: #2ecc71;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#linkResult button:hover {
    background: #27ae60;
}

.hidden {
    display: none;
}

#bgVideo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;        
    height: 100%;      
    object-fit: cover;  
    z-index: -1;
    pointer-events: none;
}

@media (max-aspect-ratio: 9/16) {
    #bgVideo {
        width: auto;    
        height: 100vh;   
    }
}

@media (min-aspect-ratio: 16/9) {
    #bgVideo {
        width: 100vw;   
        height: auto;   
    }
}


.version-badge-small{
    text-align: center;
    margin-bottom: 0.5rem;
}

.version-badge-small span{
    background: linear-gradient(90deg, #007BFF 0%, #ff7300 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 12px;
    display:  inline-block;
}

