/* PetFace Breeds Guide Styles */

.breeds-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.breeds-header {
    text-align: center;
    margin-bottom: 10px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.breeds-header h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.breeds-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.language-selector select {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.language-selector select:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-container {
    max-width: 600px;
    margin: 0 auto 15px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    outline: none;
    transition: all 0.3s ease;
    background: white;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(255, 87, 87, 0.2);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--text-secondary);
    pointer-events: none;
}

.search-results-info {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results p {
    font-size: 1.1rem;
    margin: 0;
}

.tab-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.tab-button {
    padding: 12px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button:hover {
    border-color: var(--primary-color);
    background: rgba(255, 87, 87, 0.05);
}

.tab-button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.section-intro {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 15px;
    border-left: 5px solid var(--primary-color);
}

.section-intro h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.section-intro p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 10px;
}

.breeds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.breed-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.breed-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.breed-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.breed-icon {
    font-size: 3rem;
}

.breed-title-group h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.breed-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.breed-info {
    margin-bottom: 20px;
}

.info-row {
    display: flex;
    margin-bottom: 12px;
    line-height: 1.6;
}

.info-label {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 80px;
    flex-shrink: 0;
}

.info-value {
    color: var(--text-secondary);
}

.personality-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tag {
    padding: 6px 12px;
    background: rgba(255, 87, 87, 0.1);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.suitable-for {
    background: #fef3c7;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
}

.suitable-for strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 8px;
}

.suitable-for ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.suitable-for li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 5px;
    color: var(--text-secondary);
}

.suitable-for li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.note-box {
    background: #e0f2fe;
    padding: 20px;
    border-radius: 10px;
    margin-top: 40px;
    border-left: 4px solid #0284c7;
}

.note-box strong {
    color: #0284c7;
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.note-box p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .breeds-container {
        padding: 20px 15px;
    }

    .breeds-header h1 {
        font-size: 1.4rem;
    }

    .breeds-header p {
        font-size: 0.85rem;
    }

    .header-top {
        flex-direction: column;
        gap: 5px;
    }

    .tab-container {
        flex-direction: row;
        gap: 5px;
    }

    .tab-button {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .breeds-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .breed-card {
        padding: 20px;
    }

    .section-intro {
        padding: 20px;
    }

    .section-intro h2 {
        font-size: 1.3rem;
    }

    .section-intro p {
        font-size: 0.85rem;
        line-height: 1.7;
    }

    .breed-title-group h3 {
        font-size: 1.1rem;
    }

    .breed-subtitle {
        font-size: 0.75rem;
    }

    .info-label,
    .info-value {
        font-size: 0.85rem;
    }

    .tag {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .suitable-for {
        font-size: 0.85rem;
    }

    .suitable-for strong {
        font-size: 0.85rem;
    }

    .suitable-for li {
        font-size: 0.85rem;
    }

    .note-box {
        padding: 15px;
        margin-top: 30px;
    }

    .note-box strong {
        font-size: 0.85rem;
    }

    .note-box p {
        font-size: 0.85rem;
        line-height: 1.7;
    }
}
