/* NurseVita Tabs Styles */

/* Container */
.nvt-tabs-container {
    width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
}

/* Navigation */
.nvt-tabs-nav {
    display: flex;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 16px;
    gap: 4px;
}

.nvt-tabs-nav::-webkit-scrollbar {
    display: none;
}

.nvt-tab-button {
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.7);
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    color: #000000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    white-space: nowrap;
    text-align: center;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    text-align: center;
}
.nvt-tabs-box{
    display: flex;
    margin: 0 auto;
    gap: 8px;
}
.nvt-tab-button:hover {
    background: #7768E5;
    color: #ffffff;
    transform: translateY(-2px);
}

.nvt-tab-button.active {
    background: #7768E5;
    color: #fff;
    font-weight: 600;
    transform: translateY(-2px);
    border: 1px solid #7768E5;
}

/* Content */
.nvt-tabs-content {
    position: relative;
    min-height: 400px;
    background: #fff;
}

.nvt-tab-pane {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.nvt-tab-pane.active {
    display: block;
}

.nvt-tab-pane.nvt-animating {
    animation: fadeOut 0.2s ease-in-out forwards;
}

/* Tab Content Layout - Horizontal Split */
.nvt-tab-content {
    display: flex;
    align-items: stretch;
    min-height: 400px;
    gap: 0;
}

.nvt-tab-image-container {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
}

.nvt-tab-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nvt-tab-text-container {
    flex: 1;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #fefefe 0%, #f8f9fa 100%);
}

.nvt-tab-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.nvt-tab-text {
    color: #4a5568;
    line-height: 1.8;
    font-size: 16px;
}

.nvt-tab-text p {
    margin: 0 0 20px 0;
    font-size: 20px;
}

.nvt-tab-text p:last-child {
    margin-bottom: 0;
}

/* Modern Style (Default) */
.nvt-style-modern .nvt-tab-button {
    border-radius: 8px 8px 0 0;
    margin: 0 2px;
    border: 1px solid #ccc;
    border-radius: 30px;
}
.nvt-style-modern .nvt-tab-button br{
    display:none;
}
.nvt-style-modern .nvt-tab-button.active {
    background: #7768E5;
}

/* Classic Style */
.nvt-style-classic .nvt-tabs-nav {
    background: #fff;
    border-bottom: 2px solid #e9ecef;
    padding: 0 16px;
    gap: 0;
}

.nvt-style-classic .nvt-tab-button {
    border-bottom: 3px solid transparent;
    border-radius: 0;
    margin: 0;
    background: transparent;
    padding: 20px 32px;
}

.nvt-style-classic .nvt-tab-button:hover {
    background: #7768E5;
    transform: none;
    box-shadow: none;
}

.nvt-style-classic .nvt-tab-button.active {
    border-bottom-color: #7768E5;
    background: transparent;
    color: #7768E5;
    transform: none;
    box-shadow: none;
    border-left: none;
    border-right: none;
    border-top: none;
}

/* Minimal Style */
.nvt-style-minimal .nvt-tabs-container {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.nvt-style-minimal .nvt-tabs-nav {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 8px 16px;
    gap: 8px;
}

.nvt-style-minimal .nvt-tab-button {
    padding: 12px 24px;
    font-size: 14px;
    background: transparent;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.nvt-style-minimal .nvt-tab-button:hover {
    background: #f8f9fa;
    border-color: #7768E5;
    transform: none;
    box-shadow: none;
}

.nvt-style-minimal .nvt-tab-button.active {
    background: #7768E5;
    border-color: #7768E5;
    color: #fff;
    transform: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nvt-tab-content {
        flex-direction: column;
    }
    
    .nvt-tab-image-container {
        flex: 0 0 300px;
        max-height: 300px;
    }
    
    .nvt-tab-text-container {
        padding: 32px;
    }
    
    .nvt-tab-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .nvt-tabs-container {
        border-radius: 12px;
        margin: 0 10px;
    }
    
    .nvt-tab-button {
        min-width: 120px;
        padding: 14px 20px;
        font-size: 14px;
        border-radius: 8px;
    }
    
    .nvt-tab-content {
        flex-direction: column;
    }
    
    .nvt-tab-image-container {
        flex: 0 0 250px;
        max-height: 250px;
    }
    
    .nvt-tab-text-container {
        padding: 24px 20px;
    }
    
    .nvt-tab-title {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }
    
    .nvt-tab-text {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .nvt-tabs-container {
        margin: 0 5px;
        border-radius: 8px;
    }
    
    .nvt-tabs-nav {
        padding: 4px 8px;
        gap: 2px;
    }
    
    .nvt-tab-button {
        min-width: 100px;
        padding: 12px 16px;
        font-size: 13px;
        border-radius: 6px;
    }
    
    .nvt-tab-image-container {
        flex: 0 0 200px;
        max-height: 200px;
    }
    
    .nvt-tab-text-container {
        padding: 20px 16px;
    }
    
    .nvt-tab-title {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }
    
    .nvt-tab-text {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .nvt-tab-text p {
        margin-bottom: 16px;
    }
}
    }
    
    .nvt-tab-pane {
        padding: 25px 20px;
    }
    
    .nvt-tab-text {
        font-size: 14px;
    }
    
    .nvt-tab-text h3 {
        font-size: 1.3rem;
    }
    
    .nvt-tab-text h4 {
        font-size: 1.1rem;
    }
}

/* Loading State */
.nvt-tabs-loading .nvt-tab-pane {
    opacity: 0.5;
    pointer-events: none;
}

.nvt-tabs-loading .nvt-tab-button {
    pointer-events: none;
}

/* Accessibility */
.nvt-tab-button:focus {
    outline: 2px solid #7768E5;
    outline-offset: -2px;
}

.nvt-tab-button[aria-selected="true"] {
    color: #fff;
    background: #7768E5;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .nvt-tabs-container {
        border: 2px solid #000;
    }
    
    .nvt-tab-button {
        border: 1px solid #000;
    }
    
    .nvt-tab-button.active {
        background: #000;
        color: #fff;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .nvt-tab-pane,
    .nvt-tab-button {
        animation: none;
        transition: none;
    }
}

/* Print Styles */
@media print {
    .nvt-tabs-nav {
        display: none;
    }
    
    .nvt-tab-pane {
        display: block !important;
        page-break-inside: avoid;
        margin-bottom: 20px;
        border: 1px solid #ccc;
        padding: 20px;
    }
    
    .nvt-tab-pane::before {
        content: "Tab: " attr(data-title);
        font-weight: bold;
        display: block;
        margin-bottom: 10px;
    }
}

/* Special Effects for Premium Feel */
.nvt-style-modern .nvt-tabs-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2px;
}

.nvt-style-modern .nvt-tabs-nav,
.nvt-style-modern .nvt-tabs-content {
    background: #fff;
    margin: 0;
}

.nvt-style-modern .nvt-tabs-nav {
    /* border-radius: 14px 14px 0 0; */
}

.nvt-style-modern .nvt-tabs-content {
    border-radius: 0 0 14px 14px;
}
