/* Define custom teal color */
:root {
    --custom-teal: #20c997; /* Bootstrap's teal */
    --custom-teal-darker: #1a9a75; /* A slightly darker shade for hover/active */
}

body {
    background-color: #f8f9fa; /* Light gray background */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    flex: 1;
}

/* Navbar */
.bg-teal-custom {
    background-color: var(--custom-teal) !important;
}

.navbar-brand i {
    color: #ffc107; /* Yellow icon */
}

/* Headings and Icons */
.icon-teal {
    color: var(--custom-teal);
}
h1 i, h2 i {
    color: var(--custom-teal); /* Use teal for main heading icons */
}

/* Bank Cards */
.bank-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.bank-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.bank-logo {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

/* State and City Links */
.state-link, .city-link {
    background-color: #fff;
    color: #495057;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, transform 0.2s ease-in-out, border-color 0.2s ease-in-out;
    border-color: #dee2e6;
    display: block;
    padding: 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    text-align: center;
    text-decoration: none;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.state-link:hover, .city-link:hover {
    background-color: var(--custom-teal); /* Use teal for hover */
    color: #fff;
    border-color: var(--custom-teal-darker); /* Use darker teal for border */
    transform: scale(1.03);
}

/* Breadcrumbs */
.breadcrumb-item a {
    text-decoration: none;
    color: var(--custom-teal); /* Teal color for links */
}
.breadcrumb-item a:hover {
    color: var(--custom-teal-darker);
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Hide breadcrumb links initially */
#breadcrumb-bancos-link,
#breadcrumb-state-link, #breadcrumb-city-link,
#breadcrumb-state-link-detail, #breadcrumb-city-link-detail {
    display: none;
}
#breadcrumb-bancos-link.active,
#breadcrumb-state-link.active, #breadcrumb-city-link.active,
#breadcrumb-state-link-detail.active, #breadcrumb-city-link-detail.active {
    display: inline-block;
}

/* Agency Cards */
.agency-info-card .card-body i {
    width: 1.5em;
}

.agency-info-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.agency-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.3rem 0.8rem rgba(0, 0, 0, 0.1) !important;
}

/* Agency Details */
#agency-details-content .card-body p i {
    width: 1.6em;
}
#agency-details-content .card-body ul i {
    width: 1.6em;
}
#map-placeholder {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Spinners */
.text-teal-custom {
    color: var(--custom-teal) !important;
}


/* Footer */
footer {
    margin-top: auto;
    border-top: 1px solid #dee2e6; /* Add a subtle top border */
}
/* Ensure footer text is dark enough on light background */
.bg-light.text-muted {
    color: #6c757d !important;
}
