* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.container-custom {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.left-side {
    width: 50%;
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
        url("img/HH_Farmacia_Rafael_Huete_Madrid_Mostrador.webp");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.left-side-text {
    color: white;
    font-size: 36px;
    font-weight:900;
    text-align: center;
    max-width: 500px;
    padding: 0px;
    text-align: left;
    font-family: "Lexend Peta", sans-serif;
}

.left-side-text {
    opacity: 0;
    animation: fadeIn 2s forwards;
}
@keyframes fadeIn {
    to { opacity: 1; }
}

.container {
    display: flex;
    width: 100%;
    height: 100vh;
    font-family: 'Inter', sans-serif;
}

.right-side {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
}

.register-form {
    width: 80%;
    max-width: 400px;
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.register-form h2 {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    color: #00a8e8;     
}

.register-form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: 500;
}

.register-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.register-form button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background-color: #00a8e8;
    color: white;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.register-form button:hover {
    background-color: #0077a3 !important;
    box-shadow: 0 4px 12px rgba(0, 168, 232, 0.2);}

.register-form button:active {
    background-color: #004438;
}

@media (max-width: 800px) {
    .container {
        flex-direction: column; 
        height: auto;
    }

    .left-side {
        width: 100%;
        height: 300px; 
    }

    .right-side {
        width: 100%;
        padding: 20px;
    }

    .right-side form {
        max-width: 400px;
        margin: 0 auto; 
    }

    .left-side h1 {
        font-size: 32px; 
        padding: 20px;
    }
}

@media (max-width: 500px) {

    .right-side form input {
        padding: 7px;
    }

    .register-form button {
        padding: 8px;
    }

    .left-side-text {
        font-size: 30px;
    }
}
