/**
 * Sahlware Navigation Bar Styles
 * 
 * This CSS replicates the exact styling pattern from Daily Quotes
 * for use in other projects. It uses the same class names and structure.
 */

/* Base Navigation Styles (extracted from Daily Quotes) */
.tab-navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 40px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Title Section */
.title-container {
    position: relative;
    display: inline-block;
}

.portal-title {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    text-align: left;
    letter-spacing: -0.5px;
}

.beta-sticker {
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    color: white;
    font-size: 7px;
    font-weight: 700;
    padding: 1px 3px;
    border-radius: 2px;
    transform: rotate(15deg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
    position: absolute;
    top: -2px;
    right: -8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    }
    100% {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
}

/* Tab Buttons */
.tab-button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 4px;
    cursor: pointer;
    transition: color 0.4s ease-out, border-color 0.4s ease-out, opacity 0.3s ease-out;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    border-bottom: 2px solid transparent;
}

.tab-button:hover {
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.tab-button.active {
    color: white;
    border-bottom-color: #667eea;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tab-navigation {
        padding: 4px 15px;
        gap: 15px;
    }
    
    .nav-left {
        gap: 15px;
    }
    
    .nav-right {
        gap: 10px;
    }
    
    .tab-button {
        font-size: 14px;
        padding: 6px 4px;
    }
    
    .portal-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .tab-navigation {
        padding: 4px 10px;
        gap: 10px;
    }
    
    .nav-left {
        gap: 10px;
    }
    
    .tab-button {
        font-size: 12px;
        padding: 6px 4px;
    }
    
    .portal-title {
        font-size: 14px;
        letter-spacing: 0;
    }
    
    .beta-sticker {
        font-size: 6px;
        padding: 0.5px 2px;
    }
}

/* Focus styles for accessibility */
.tab-button:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Integration support */
body.sahlware-navigation-active {
    padding-top: 44px; /* Account for navigation height */
}

/* Print styles */
@media print {
    .tab-navigation {
        display: none !important;
    }
    
    body.sahlware-navigation-active {
        padding-top: 0 !important;
    }
}