/* ========== VET PROFILE STYLES ========== */

/* ========== HERO SECTION ========== */
.vet-hero-section {
    position: relative;
    margin-top: -2rem;
    padding: 40px 0 30px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 0;
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.vet-avatar {
    transition: all 0.3s ease;
}

.vet-avatar:hover {
    transform: scale(1.05);
}

.vet-avatar-badge {
    animation: pulse 2s infinite;
}

.info-badge-modern {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease;
}

.info-badge-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.breadcrumb-light .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-light a:hover {
    color: #fff !important;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== ABOUT SECTION ========== */
.about-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.about-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.about-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.about-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    flex-shrink: 0;
}

/* Icon color variations */
.about-icon-animals {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3) !important;
}

.about-icon-address {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%) !important;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3) !important;
}

.about-icon-zones {
    background: linear-gradient(135deg, #28a745 0%, #198754 100%) !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3) !important;
}

.about-icon-hours {
    background: linear-gradient(135deg, #0dcaf0 0%, #0aa2c0 100%) !important;
    box-shadow: 0 4px 15px rgba(13, 202, 240, 0.3) !important;
}

.about-icon-reviews {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%) !important;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3) !important;
}

/* Compact Section Styling */
.about-section-compact {
    padding: 1.5rem !important;
}

.about-icon-sm {
    width: 45px !important;
    height: 45px !important;
    font-size: 1.1rem !important;
}

/* Compact Review Items */
.review-item-compact {
    padding: 1rem 0;
}

.review-item-compact:first-child {
    padding-top: 0;
}

.review-item-compact:last-child {
    padding-bottom: 0;
}

.review-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #4a5568;
}

/* Compact Vote Buttons */
.btn-vote {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.85rem;
    color: #718096;
    cursor: pointer;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-vote:hover {
    color: #2d3748;
}

.btn-vote i {
    font-size: 0.9rem;
}

/* Review Cards (Carousel) */
.review-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: #cbd5e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.review-card h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.review-card-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #4a5568;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.btn-vote-card {
    background: none;
    border: none;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    color: #718096;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 6px;
}

.btn-vote-card:hover {
    color: #2d3748;
    background: #f7fafc;
}

.btn-vote-card i {
    font-size: 0.85rem;
}

/* Swiper Navigation Buttons for Reviews */
.swiper-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.swiper-nav-btn:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    color: #2d3748;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.swiper-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.swiper-nav-btn-left {
    left: -20px;
}

.swiper-nav-btn-right {
    right: -20px;
}

/* Reviews Carousel Specific */
.reviews-carousel {
    padding: 0.5rem 0;
}

.reviews-carousel .swiper-slide {
    height: auto;
}

/* Map Location Card */
.map-location-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.map-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.map-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    display: flex;
    align-items: center;
}

.map-title i {
    font-size: 1.2rem;
}

/* Badge text overflow fix */
.badge.bg-info-subtle.text-info.small,
.badge.bg-success-subtle.text-success.small,
.badge.bg-warning.text-white.small {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

/* For specialty and animal badges in main content */
.about-section .badge {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* For badges in sidebar (smaller max-width) */
.fb-intro-card .badge {
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .about-section-compact {
        padding: 1rem !important;
    }
    
    .review-item-compact {
        padding: 0.75rem 0;
    }
    
    .review-text {
        font-size: 0.85rem;
    }
    
    .swiper-nav-btn-left {
        left: -10px;
    }
    
    .swiper-nav-btn-right {
        right: -10px;
    }
    
    .review-card {
        padding: 1rem;
    }
    
    .review-card-text {
        font-size: 0.8rem;
        -webkit-line-clamp: 5;
    }
    
    .map-header {
        padding: 1rem;
    }
    
    .map-title {
        font-size: 1rem;
    }
    
    /* Reduce badge max-width on mobile */
    .about-section .badge {
        max-width: 150px;
    }
    
    .fb-intro-card .badge {
        max-width: 120px;
    }
}

.about-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    line-height: 1.2;
}

.about-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
}

.about-content p {
    margin-bottom: 1rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-content h1,
.about-content h2,
.about-content h3,
.about-content h4,
.about-content h5,
.about-content h6 {
    color: #2d3748;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.about-content ul,
.about-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.about-content li {
    margin-bottom: 0.5rem;
}

.about-content strong {
    color: #2d3748;
    font-weight: 600;
}

.about-content em {
    color: #718096;
    font-style: italic;
}

/* ========== INFO BOXES ========== */
.info-box-white {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.info-box-white:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.icon-wrapper-colored {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.opening-hours-item {
    padding: 0.75rem;
    background: rgba(13, 202, 240, 0.05);
    border-radius: 8px;
    border-left: 3px solid #0dcaf0;
    transition: all 0.2s ease;
}

.opening-hours-item:hover {
    background: rgba(13, 202, 240, 0.1);
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ========== SIDEBAR INFO CARD ========== */
.fb-intro-card {
    background: #fff !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s ease;
}

.fb-intro-card .card-title {
    font-size: 1.25rem;
    color: #1c1e21;
    margin-bottom: 1rem;
}

.fb-intro-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.2s ease;
}

.fb-intro-item:last-child {
    border-bottom: none;
}

.fb-intro-item:hover {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    padding-left: 8px;
    padding-right: 8px;
}

.fb-icon-wrapper {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    flex-shrink: 0;
}

.fb-intro-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1c1e21;
    margin-bottom: 0.25rem;
}

.fb-intro-value {
    font-size: 0.875rem;
    color: #606770;
    line-height: 1.4;
}

.fb-intro-item .badge {
    font-weight: 500;
    font-size: 0.75rem;
    padding: 4px 8px;
}

.phone-intro-block {
    transition: all 0.2s ease;
    border-radius: 8px;
    padding: 8px;
    margin: -8px;
}

.phone-intro-block:hover {
    background-color: rgba(102, 126, 234, 0.05);
    transform: translateX(4px);
}

/* ========== BADGES ========== */
.badge-modern {
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.badge-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.badge-modern.bg-success {
    background-color: #28a745 !important;
}

.badge-modern.bg-info {
    background-color: #17a2b8 !important;
}

.text-purple {
    color: #8b5cf6 !important;
}

/* ========== RESPONSIVE ========== */
@media (min-width: 992px) {
    .sidebar-vet-info {
        margin-top: -100px;
    }
}

@media (max-width: 768px) {
    .vet-hero-section {
        padding: 30px 0 20px !important;
    }
    
    .vet-hero-card {
        padding: 1rem !important;
        margin-top: 1rem !important;
    }
    
    .vet-avatar {
        width: 100px !important;
        height: 100px !important;
    }
    
    .h3 {
        font-size: 1.25rem !important;
    }
    
    .info-badge-modern {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem !important;
    }
    
    .about-section {
        padding: 1.25rem;
        border-radius: 16px;
    }
    
    .about-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .about-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .about-title {
        font-size: 1.15rem;
    }
    
    .about-content {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}
