:root {
    --fondo: #33FAD5;
    --botones-interacion: #4bd281;
    --hipervinculos: #007BFF;
}

body {
    background: linear-gradient(90deg, rgb(46, 255, 189) 0%, rgb(134, 129, 254) 100%);
    font-family: Arial, sans-serif;
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container, .container-r {
    width: 90%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    padding: 20px;
    box-sizing: border-box;
}

.container{
    height: auto;
}

.container-r{
    height: 97%;
}

.login-form, .register-form {
    width: 100%;
    text-align: center;
}

.login-form h2, .register-form h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.form-row .input-group {
    width: 48%;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
    width: 100%;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.forgot-password {
    margin-bottom: 20px;
    text-align: right;
}

.forgot-password a, .register a {
    color: var(--hipervinculos);
    text-decoration: none;
}

.forgot-password a:hover, .register a:hover {
    text-decoration: underline;
}

button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: var(--botones-interacion);
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #00b34e;
}

.or, .register {
    margin: 20px 0;
    color: #666;
}

.google-button, .google-button a {
    background-color: var(--hipervinculos);
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 15px;
}

.google-button:hover, .google-button:hover a {
    background-color: #472ee6;
}

@media (max-width: 768px) {
    .form-row .input-group {
        width: 100%;
    }

    .container, .container-r {
        width: 100%;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .login-form h2, .register-form h2 {
        font-size: 20px;
    }

    button[type="submit"], .google-button {
        font-size: 14px;
    }
    
    .container, .container-r {
        padding: 10px;
    }
}
