/* ======= General ======= */
body {
    background-color: #f8f9fa;
    font-family: Arial, sans-serif;
}

/* ======= Estilos para el Dashboard ======= */
.container {
    max-width: 900px;
    margin: auto;
}

.card {
    border-radius: 10px;
    border: none;
    transition: transform 0.2s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.card:hover {
    transform: scale(1.02);
}

.card-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.card h5 i {
    margin-right: 8px;
}

.btn-primary {
    background-color: #0056b3;
    border-color: #0056b3;
    width: 100%;
}

.btn-primary:hover {
    background-color: #004494;
}

.btn-outline-primary {
    width: 100%;
}

.text-end {
    text-align: right;
}

/* Lista de archivos subidos */
.list-group-item {
    border: none;
    background: #f1f1f1;
    margin: 2px 0;
    border-radius: 5px;
}

/* ======= Estilos para la Conexión Bancaria ======= */
.bank-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 10px;
    background-color: #fff;
    transition: transform 0.3s ease;
}

.bank-item:hover {
    transform: scale(1.02);
}

.bank-logo {
    height: 50px;
    width: auto;
    max-height: 50px;
    margin-right: 20px;
    border-radius: 5px;
}

.bank-details {
    flex: 1;
    margin-right: 10px; /* Reduce espacio entre el texto y el botón */
}

.bank-name {
    font-weight: bold;
    margin: 0; /* Elimina márgenes innecesarios */
}

.bank-connect-btn {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
}

.bank-connect-btn:hover {
    background-color: #0056b3;
}

#search-bar {
    width: 100%;
    padding: 10px;
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* ======= Estilos de las Barras de Scoring ======= */
.green-bar {
    background-color: green !important;
}
.orange-bar {
    background-color: orange !important;
}
.red-bar {
    background-color: red !important;
}

.green-text {
    color: green !important;
}
.orange-text {
    color: orange !important;
}
.red-text {
    color: red !important;
}

/* ======= Ajustes para Mejorar la Experiencia ======= */
.mt-3 {
    margin-top: 15px;
}
.mt-4 {
    margin-top: 20px;
}
.mt-5 {
    margin-top: 30px;
}

.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Estilos para hacer el Dashboard Responsive */
@media (max-width: 768px) {
    .card {
        margin-bottom: 20px;
    }

    .text-end {
        text-align: center;
        margin-top: 10px;
    }
}
