body {
    background: linear-gradient(135deg, #1e1e3c, #2d2d7d);
    color: #000;
}

.container {
    margin-top: 50px;
}

.card {
    border: none;
    border-radius: 1rem;
}

.card-body {
    padding: 2rem;
}

.form-control {
    border-radius: 1rem;
}

.btn-primary {
    background-color: #4e73df;
    border-color: #4e73df;
    border-radius: 1rem;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #2e59d9;
    border-color: #2653d4;
}

.navbar {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.navbar-brand {
    font-size: 1.5rem;
    white-space: nowrap;
}

.fixed-bottom {
    background: linear-gradient(135deg, #2d2d7d, #1e1e3c);
    width: 100%;
}

.text-danger {
    color: #e74a3b !important;
}

.bg-login-image {
    background: url('../image/back1.jpg');
    background-position: center;
    background-size: cover;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.sidebar {
    background: linear-gradient(135deg, #2d2d7d, #1e1e3c);
    width: 250px;
    transition: all 0.3s;
}

.sidebar .sidebar-brand {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 1rem 1rem;
    color: #000;
}

.sidebar .sidebar-brand-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.sidebar .nav-item {
    margin: 0.5rem 0;
}

.sidebar .nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #000;
    transition: all 0.3s;
}

.sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
    text-decoration: none;
}

.sidebar .nav-link i {
    margin-right: 0.75rem;
}

.sidebar .nav-link span {
    font-size: 1rem;
}

.stocky-footer .copyright {
    color: #000 !important; /* Cambiar a un color oscuro */
}

.loan-select option {
    color: #000 !important; /* Texto negro por defecto */
}

.loan-select option:checked,
.loan-select option:hover {
    background-color: #007bff !important; /* Fondo azul */
    color: #000 !important; /* Texto blanco */
}

/* Estilo adicional para la lista desplegable select2 */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #007bff !important; /* Fondo azul */
    color: #000 !important; /* Texto blanco */
}

/* Estilo adicional para el texto seleccionado en el select2 */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #000 !important; /* Texto negro */
}

@media (max-width: 767px) {
    .bg-login-image {
        display: none;
    }

    .card {
        border-radius: 0.5rem;
    }

    .card-body {
        padding: 1rem;
    }

    .container {
        margin-top: 20px;
    }

    .navbar-brand {
        font-size: 1.2rem;
        white-space: normal;
        text-align: center;
        width: 100%;
    }

    .navbar {
        text-align: center;
    }

    .fixed-bottom label {
        display: block;
        width: 100%;
        text-align: center;
    }
}
