* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: white;
}

body {
    background: linear-gradient(#1354A5 0%, #041832 33.33%, #041832 66.67%, #01080E 100%);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}


body::before {
    background-image: url("img/code.png");
    background-repeat: no-repeat;
    background-position: right;
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.container {
    width: min(1200px, 90vw);
    height: auto;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 24px;
    border: 1px solid #1875E8;
    box-shadow: 4px 4px 20px 0px rgba(1, 8, 14, 0.15);
    background-image: url("img/Ruido.png");
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 2rem;
}


.container__contenido {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    flex-direction: row;
}

.container__informaciones {
    flex: 1;
    padding: 2rem;
    min-width: 0;
}

.container__boton {
    border-radius: 16px;
    background: #1875E8;
    padding: clamp(0.75rem, 3vw, 1rem) clamp(1rem, 4vw, 1.5rem);
    width: 100%;
    font-size: clamp(0.9rem, 3vw, 1.5rem);
    font-weight: 700;
    border: none;
    margin-top: 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    min-height: 44px;
    touch-action: manipulation;
}

.container__boton:disabled {
    background: #898989;
}

.container__texto {
    margin: 16px 0 16px 0;
}

.container__texto-azul {
    color: #1875E8;
}

.container__input {
    width: 100%;
    height: clamp(3rem, 8vh, 4.5rem);
    border-radius: 16px;
    background-color: #FFF;
    border: none;
    color: #1875E8;
    padding: 1rem;
    font-size: clamp(1rem, 4vw, 1.5rem);
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-align: center;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: none;
}

.container__botones {
    display: flex;
    gap: 2em;
}

h1 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: clamp(2rem, 8vw, 4.5rem);
    padding-bottom: 2rem;
    line-height: 1.2;
}

p,
button {
    font-family: 'Inter', sans-serif;
}

.texto__parrafo {
    font-size: clamp(1rem, 4vw, 2rem);
    font-weight: 400;
    line-height: 1.4;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }
    
    .container {
        width: 95vw;
        min-height: 70vh;
        border-radius: 16px;
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .container__contenido {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
    }
    
    .container__informaciones {
        padding: 1rem;
        order: 1;
    }
    
    .container__imagen-persona {
        max-width: 200px;
        height: auto;
        order: 2;
    }
    
    .container__botones {
        flex-direction: column;
        gap: 1rem;
    }
    
    body::before {
        background-size: cover;
        background-position: center;
    }
}

@media (max-width: 480px) {
    .container {
        width: 98vw;
        padding: 0.5rem;
        border-radius: 12px;
    }
    
    .container__informaciones {
        padding: 0.5rem;
    }
    
    .container__imagen-persona {
        max-width: 150px;
    }
    
    h1 {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        padding-bottom: 1rem;
    }
}

/* Touch improvements */
@media (hover: none) and (pointer: coarse) {
    .container__boton:active {
        background: #1565c0;
        transform: scale(0.98);
    }
    
    .container__input:focus {
        outline: 3px solid #1875E8;
        outline-offset: 2px;
    }
}