/*
 * Universal Tab Styles
 * Standard tab component styling for all pages across the site
 * Based on site2.cfm tab design with orange theme
 */

/* Tab Navigation Container */
.tab-navigation,
.site-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    flex-wrap: wrap;
}

/* Tab Buttons */
.tab-btn,
.site-tab-button {
    padding: 12px 24px;
    background: #f5f5f5;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    border-radius: 4px 4px 0 0;
}

/* Tab Button Hover State */
.tab-btn:hover,
.site-tab-button:hover {
    background: #e8e8e8;
    color: #333;
}

/* Active Tab Button */
.tab-btn.active,
.site-tab-button.active {
    background: white;
    color: #F25F2C;
    border-bottom-color: #F25F2C;
}

/* Tab Content Areas */
.tab-content,
.site-tab-content {
    display: none;
}

/* Active Tab Content */
.tab-content.active,
.site-tab-content.active {
    display: block;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .tab-navigation,
    .site-tabs {
        flex-direction: row;
        justify-content: stretch;
    }

    .tab-btn,
    .site-tab-button {
        flex: 1;
        text-align: center;
        padding: 10px 12px;
        font-size: 0.9rem;
        min-width: 80px;
    }
}

/* Tablet Responsiveness */
@media (max-width: 1024px) and (min-width: 769px) {
    .tab-btn,
    .site-tab-button {
        padding: 11px 20px;
        font-size: 13px;
    }
}

/* Empty Tab State Message */
.tab-empty-message {
    padding: 0.75rem;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    color: #856404;
}

/* Error Tab State Message */
.tab-error-message {
    padding: 0.75rem;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
}
