* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    overflow-x: hidden;
}

.account-pages {
    min-height: 100vh;
    padding: 15px;
    background-image: url("../static/images/background-image.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.logo-container {
    max-width: 850px;
    /* Igual que el ancho del login-card-position */
    margin-right: 50px;
    /* Igual que el margen del login-card-position */
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    max-width: 100%;
    height: auto;
    max-height: 100px;
    /* Ajusta según el tamaño del logo */
}

.card {
    border: none;
    border-radius: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #e7f4ff;
    width: 100%;
}

.card-body {
    padding: 2.5rem;
    width: 100%;
}

.welcome-text {
    color: #096fa9;
    font-size: 3.2rem;
    font-weight: bold;
    font-style: italic;
    font-family: 'Arial', sans-serif;
}

.form-control {
    border: none;
    border-bottom: 1px solid #ced4da;
    border-radius: 0;
    background-color: #f1f3f5;
    transition: border-color 0.3s ease;
    width: 100%;
}

.form-control:focus {
    box-shadow: none;
    border-bottom: 1px solid #007bff;
}

.form-group label {
    font-size: 0.9rem;
    color: #495057;
    text-transform: uppercase;
}

.btn-primary {
    background-color: #4a90e2;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-transform: uppercase;
    width: 100%;
}

.btn-primary:hover {
    background-color: #357abd;
}

.login-card-position {
    max-width: 850px;
    margin-right: 50px;
}

@media (min-width: 992px) {
    .login-card-position {
        margin-right: 150px;
        max-width: 850px;
    }

    .logo-container {
        margin-right: 100px;
        /* Igual que el login-card-position */
        max-width: 850px;
    }

    .account-pages {
        background-position: left center;
    }
}

@media (max-width: 992px) {
    .login-card-position {
        margin-right: 20px;
        max-width: 800px;
    }

    .logo-container {
        margin-right: 20px;
        /* Igual que el login-card-position */
        max-width: 800px;
    }

    .welcome-text {
        font-size: 2.8rem;
    }

    .account-pages {
        justify-content: center;
        align-items: center;
        background-position: center;
    }

    .logo {
        max-height: 80px;
    }
}

@media (max-width: 768px) {
    .welcome-text {
        font-size: 2.2rem;
    }

    .login-card-position {
        margin-right: 0;
        max-width: 750px;
    }

    .logo-container {
        margin-right: 0;
        /* Igual que el login-card-position */
        max-width: 750px;
    }
}

@media (max-width: 576px) {
    .welcome-text {
        font-size: 1.8rem;
    }

    .login-card-position {
        max-width: 100%;
        padding: 0 15px;
    }

    .logo-container {
        max-width: 100%;
        padding: 0 15px;
    }

    .logo {
        max-height: 60px;
    }
}