/* Journal Navigation Tabs */
.journal-navigation-tabs {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    /* border-bottom: 3px solid #007bff; */
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
    padding: 0;
    margin: 0;
    /* position: relative; */
    margin-top: 2rem;
}

.journal-navigation-tabs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3, #007bff);
}

.journal-navigation-tabs .nav-tabs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: none;
    margin: 0;
    padding: 0 15px;
    gap: 5px;
}

.journal-navigation-tabs .nav-item {
    margin: 0;
    border: none;
}

.journal-navigation-tabs .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #495057;
    border: 2px solid transparent;
    border-bottom: 3px solid transparent;
    padding: 12px 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px 6px 0 0;
    background-color: #f0f0f0;
    margin-top: 8px;
    font-size: 15px;
    letter-spacing: 0.3px;
}

.journal-navigation-tabs .nav-link:hover {
    color: #007bff;
    background-color: #e3f2fd;
    border: 2px solid #b3e5fc;
    border-bottom: 3px solid #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.journal-navigation-tabs .nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: 2px solid #0056b3;
    border-bottom: 3px solid #003d82;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
}

.journal-navigation-tabs .nav-link i {
    font-size: 17px;
    transition: transform 0.3s ease;
}

.journal-navigation-tabs .nav-link:hover i {
    transform: scale(1.15);
}

.journal-navigation-tabs .nav-link.active i {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-5px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .journal-navigation-tabs .nav-tabs {
        padding: 0 10px;
    }
    
    .journal-navigation-tabs .nav-link {
        padding: 11px 14px;
        font-size: 14px;
        gap: 6px;
    }
}

@media (max-width: 768px) {
    .journal-navigation-tabs .nav-tabs {
        padding: 0 8px;
    }
    
    .journal-navigation-tabs .nav-link {
        padding: 10px 12px;
        font-size: 13px;
        margin-top: 6px;
    }
    
    .journal-navigation-tabs .nav-link i {
        font-size: 16px;
    }
    
    .journal-navigation-tabs .nav-link span {
        display: none;
    }
    
    .journal-navigation-tabs .nav-link::before {
        content: attr(title);
    }
}

@media (max-width: 576px) {
    /* .journal-navigation-tabs {
        border-bottom: 2px solid #007bff;
    } */
    
    .journal-navigation-tabs::before {
        height: 2px;
    }
    
    .journal-navigation-tabs .nav-tabs {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }
    
    .journal-navigation-tabs .nav-item {
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .journal-navigation-tabs .nav-link {
        border-bottom: none;
        border-left: 4px solid transparent;
        padding: 14px 15px;
        margin-top: 0;
        border-radius: 0;
        background-color: #ffffff;
        font-size: 14px;
        justify-content: flex-start;
    }
    
    .journal-navigation-tabs .nav-link:hover {
        border-left-color: #007bff;
        border-bottom-color: transparent;
        background-color: #f0f8ff;
        transform: translateX(4px);
    }
    
    .journal-navigation-tabs .nav-link.active {
        border-left: 4px solid #007bff;
        border-bottom-color: transparent;
        background: #e3f2fd;
        color: #007bff;
    }
    
    .journal-navigation-tabs .nav-link span {
        display: inline;
    }
}

/* Print Styles */
@media print {
    .journal-navigation-tabs {
        display: none;
    }
}

