﻿.container {
    max-width: 520px;
    margin-top: 5rem;
    margin-bottom: 5rem;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #333;
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.2rem;
    margin-top: 0.2rem;
    color: #0056b3;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    border-radius:10px;
}

.btn-register {
    width: 100%;
    padding: 0.75rem;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 2%;
}

.error-message {
    color: #d32f2f;
    margin-top: 0.5rem;
}

.password-requirements {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.5rem;
}

.login-link {
    text-align: center;
    margin-top: 1rem;
}

    .login-link a {
        color: #1976d2;
        text-decoration: none;
    }

        .login-link a:hover {
            text-decoration: underline;
        }

/* Updated Modal styles to match the previous design */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 2rem;
    width: 90%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

    .modal-content h2 {
        color: #333;
        font-size: 1.5rem;
        margin-bottom: 1rem;
        font-weight: 600;
        text-align: left;
    }

    .modal-content p {
        color: #666;
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .modal-content .form-group {
        margin-bottom: 1.5rem;
    }

    .modal-content label {
        display: block;
        margin-bottom: 0.5rem;
        color: #333;
        font-weight: 500;
    }

    .modal-content input {
        width: 100%;
        padding: 0.75rem;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 1rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

        .modal-content input:focus {
            box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
            border-color: #80bdff;
            outline: none;
        }

    /* Updated button styles */
    .modal-content .flex {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 2rem;
    }

    .modal-content button {
        min-width: 120px;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        font-weight: 500;
        font-size: 0.95rem;
        transition: all 0.2s ease;
    }

        .modal-content button[type="submit"] {
            background-color: #0056b3;
            border-color: #0056b3;
            color: white;
        }

            .modal-content button[type="submit"]:hover {
                background-color: #004494;
                border-color: #004494;
            }

        .modal-content button[type="button"] {
            background-color: #fff;
            border: 1px solid #ddd;
            color: #666;
        }

            .modal-content button[type="button"]:hover {
                background-color: #f8f9fa;
                border-color: #ddd;
            }

.validation-error,
.validation-warning,
.validation-success {
    padding: 0.75rem;
    border-radius: 8px;
    margin: 1rem 0;
    text-align: center;
}

.validation-error {
    background-color: #fff2f0;
    border: 1px solid #ffccc7;
    color: #cf1322;
}

.validation-warning {
    background-color: #fffbe6;
    border: 1px solid #ffe58f;
    color: #ad6800;
}

.validation-success {
    background-color: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #389e0d;
}

@media (max-width: 768px) {
    .container{
        max-width:90%;
        padding:1%;
        display:flex;
        align-items:center;
        justify-content:center;
    }
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    .register-f-container {
        width: 400px;
        padding: 5%;
    }
    .img-app {
        height: 100%;
        width:120px;
        max-height:40px;
    }
    .image-apps{
        display:flex;
        flex-direction:row;
        align-items:center;
        justify-content:center;
        gap:5px;
        width:100%;
        margin-bottom:5%;
    }
    #emailValidationAndAppDownload{
        padding:1px;
    }
    #emailValidationAndAppDownload p {
        font-size: 14px;
    }
    .condiciones-r{
        font-size:14px;
        padding-top:5%;
    }
}
.image-apps {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.img-app{
    height:50px;
}