.branch-category-page {
    background-color: #f8f9fa;
}

.hero-section {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.branch-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.branch-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.custom-red-header {
    background: linear-gradient(135deg, #ef0000, #cc0000);
}

.custom-orange-header {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.custom-red-btn {
    background: linear-gradient(135deg, #ef0000, #cc0000);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.custom-red-btn:hover {
    background: linear-gradient(135deg, #cc0000, #aa0000);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 0, 0, 0.3);
}

.custom-blue-text {
    color: #007bff;
}

.custom-red-text {
    color: #ef0000;
}

.branch-card {
    border: none;
    transition: all 0.3s ease;
}

.branch-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.branch-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-open {
    background-color: #28a745;
    color: white;
}

.status-closed {
    background-color: #dc3545;
    color: white;
}

.service-item {
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.service-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.service-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f8f9fa;
}
.custom-dark-red-header {
    background: linear-gradient(135deg, #8B0000, #A52A2A);
    border-bottom: 3px solid #660000;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 4px rgba(139, 0, 0, 0.2);
}

.custom-dark-red-header h4 {
    margin: 0;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.custom-dark-red-header i {
    color: #FFD700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}


@media(max-width: 768px) {
    .hero-section {
        min-height: 200px;
    }

    .display-4 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }
}

.custom-orange-badge {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
}

.custom-dark-red-header {
    background: linear-gradient(135deg, #8b0000, #a52a2a);
}

.custom-green-text {
    color: #28a745;
}

.custom-orange-text {
    color: #ff6b35;
}

.custom-blue-text {
    color: #007bff;
}

/* Styles cho tính năng tìm chi nhánh gần tôi */
.btn-primary {
    background: linear-gradient(135deg, #ef0000, #cc0000);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #cc0000, #aa0000);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 0, 0, 0.3);
}

.branch-item {
    transition: all 0.3s ease;
}

.branch-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

.btn-outline-success {
    border-color: #28a745;
    color: #28a745;
}

.btn-outline-success:hover {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

/* Loading animation */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Distance badge */
.badge.bg-primary {
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
}