/* Branch Search Page Styles */
.branch-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 40px 0;
}

.branch-header h1 {
    font-weight: 600;
    font-size: 2.5rem;
    margin-bottom: 0;
}

.search-card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-input {
    border-radius: 8px 0 0 8px;
    border: 1px solid #e5e7eb;
    padding: 12px 16px;
}

.search-btn {
    border-radius: 0 8px 8px 0;
    background: #1e3a8a;
    border-color: #1e3a8a;
    padding: 12px 20px;
}

.search-btn:hover {
    background: #1e40af;
    border-color: #1e40af;
}

.branch-card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.branch-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.branch-title {
    color: #1e3a8a !important;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.branch-address {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.branch-address i {
    color: #ef4444;
    margin-right: 8px;
}

.route-btn {
    border: 1px solid #1e3a8a;
    color: white;
    background-color: #1e3a8a;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.map-container {
    height: 200px;
    background: #f8f9fa;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.map-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.map-placeholder i {
    font-size: 3rem;
    color: #9ca3af;
}

.map-placeholder p {
    color: #6b7280;
    margin-top: 8px;
    font-size: 0.9rem;
}

.section-title {
    color: #1e3a8a;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.results-count {
    color: #6b7280;
    font-size: 0.95rem;
}

.results-count strong {
    color: #1e3a8a;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results i {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 20px;
}

.no-results h4 {
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 12px;
}

.no-results p {
    color: #9ca3af;
    font-size: 0.95rem;
}

/* Button Styles */
.btn-outline-primary {
    border-color: #1e3a8a;
    color: #1e3a8a;
}

.btn-outline-primary:hover {
    background-color: #1e3a8a;
    border-color: #1e3a8a;
    color: white;
}

.text-primary {
    color: #1e3a8a !important;
}

/* Pagination Styles */
.pagination .page-link {
    color: #1e3a8a;
    border-color: #e5e7eb;
    padding: 8px 16px;
}

.pagination .page-link:hover {
    background-color: #f3f4f6;
    border-color: #1e3a8a;
}

.pagination .page-item.active .page-link {
    background-color: #1e3a8a;
    border-color: #1e3a8a;
    color: white;
}

.pagination .page-item.disabled .page-link {
    color: #9ca3af;
    background-color: #f9fafb;
}

/* Card Hover Effects */
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .branch-header h1 {
        font-size: 2rem;
    }

    .branch-header {
        padding: 30px 0;
    }

    .search-card .row {
        flex-direction: column;
    }

    .results-count {
        text-align: center;
        margin-top: 15px;
    }

    .branch-card {
        margin-bottom: 20px;
    }

    .map-container {
        height: 150px;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .branch-header h1 {
        font-size: 1.75rem;
    }

    .search-input,
    .search-btn {
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .route-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}
