:root {
    --primary-dark: #282B2C;
    --primary-blue: #408CC5;
    --secondary-blue: #4c89c6;
    --dark-gray: #202428;
    --accent-red: #98372D;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-muted: #888888;
    --background: #f7f7f7;
    --card-bg: #ffffff;
    --accent-purple: #4a358a;
}

body {
    background: 
        url('../img/pattern.png') repeat,
        linear-gradient(0deg, var(--primary-blue), var(--primary-dark));
    background-size: auto, auto;
    background-position: top left, center center;
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    padding: 50px 0;
}

h1 {
    font-size: 2.5em !important;
}

.btn {
    background: var(--primary-blue) !important;
    border: 0 !important;
}

.btn:hover {
    background: var(--secondary-blue) !important;
    border: 0 !important;
}

.card {
    background-color: var(--card-bg);
    border-radius: 20px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thumb-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thumb-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pet-photo-container {
    position: relative;
    background-image: url('../img/bg.png');
    background-size: cover;
    background-position: center;
    height: 200px;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.pet-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50% 0 50% 50%;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: absolute;
    bottom: -100px;
    z-index: 10;
}

.pet-photo-thumb {
    width: 100px;
    border-radius: 50% 0 50% 50%;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.membership-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 15px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(64, 140, 197, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.membership-badge.expired {
    background-color: var(--accent-red);
    box-shadow: 0 4px 15px rgba(198, 58, 71, 0.3);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ffffff;
}

.membership-badge.active .status-indicator {
    background-color: #4CAF50;
}

.membership-badge.expired .status-indicator {
    background-color: #F44336;
}

.card-body {
    padding: 25px;
}

.pet-name {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 5px;
    text-align: center;
    color: var(--text-dark);
}

.pet-info {
    color: var(--text-muted);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.info-label {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.info-group {
    margin-bottom: 15px;
}

.action-btn {
    padding: 10px 15px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 10px;
    border: none;
    background-color: #f2f2f2;
    color: var(--text-dark);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.action-btn i {
    margin-right: 8px;
}

.action-btn.primary {
    background-color: var(--primary-blue);
    color: white;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.filter-tag {
    background-color: #f2f2f2;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tag:hover {
    background-color: #e6e6e6;
}

.filter-tag.active {
    background-color: var(--primary-blue);
    color: white;
}

.category-badge {
    display: inline-block;
    float: right;
    font-size: 8px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 3px 10px 2px 10px;
    border-radius: 10px;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    margin-left: 10px;
}

.category-comida {
    background-color: #FFD166;
    color: #664500;
}

.category-accesorios {
    background-color: #06D6A0;
    color: #003D2D;
}

.category-medicina {
    background-color: #EF476F;
    color: white;
}

.category-peluqueria {
    background-color: #118AB2;
    color: white;
}

.category-recreacion {
    background-color: #073B4C;
    color: white;
}

.benefit-logo {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    object-fit: contain;
    background-color: #f5f5f5;
    margin-right: 15px;
}

.benefit-info {
    flex-grow: 1;
}

.benefit-name {
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 3px;
    color: var(--text-dark);
}

.benefit-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.section-title {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
}

.section-title .icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    color: var(--primary-blue);
}

.microchip-text {
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.club-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    height: 100px;
}

.card-footer {
    background-color: #f8f9fa;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-radius: 0 0 20px 20px;
    padding: 12px 25px;
}

.petid-footer {
    display: flex;
    align-items: center;
    justify-content: center;
}

.petid-text {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

.petid-logo {
    font-weight: 800;
    color: var(--accent-purple);
}

@media (max-width: 991px) {
    .col-benefits {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .petid-footer {
        flex-direction: column;
        gap: 4px;
    }
    
    .card-footer {
        padding: 15px;
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

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

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

/* Estilos personalizados para el menú */
.menu-container {
    border-bottom: 0;
    padding-bottom: 0;
}

.nav-pills .nav-link {
    border-radius: 0.5rem 0.5rem 0 0;
    padding: 0.75rem 1.5rem;
    font-weight: 900;
    color: #6c757d;
    background-color: #f8f9fa;
    border: 1px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s ease;
    text-align: left;
    width: 50%;
}

.nav-pills .nav-link.active {
    color: var(--primary-blue);
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}

.nav-pills .nav-link:hover:not(.active) {
    background-color: #e9ecef;
    border-color: #e9ecef #e9ecef #dee2e6;
}

.icon {
    display: inline-block;
    vertical-align: -0.125em;
}