/* Main Container - Customize width here */
.protab-container {
    --container-width: 100%; /* Default full width */
    --content-width: 90%; /* Content area width */
    --thumb-width: 300px; /* Thumbnail width */
    
    width: var(--container-width);
    max-width: 100%; /* Maximum container width */
    margin: 2rem auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    /*box-shadow: 0 5px 25px rgba(0,0,0,0.08);*/
    border-radius: 20px;
    overflow: hidden;
}

/* Navigation - Removed background color */
.protab-navigation {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.protab-nav {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #2c3e50; /* Changed from light to dark color */
    padding: 0;
}

.protab-nav:hover {
    background: rgba(0,0,0,0.05); /* Changed from white to black for better contrast */
    transform: scale(1.1);
}

.protab-nav svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Tabs */
.protab-tabs-wrapper {
    flex: 1;
    overflow: hidden;
}

.protab-tabs {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: transform 0.3s ease;
    gap: 10px; /* Added space between tabs */
}

.protab-tab {
    flex: 0 0 auto;
    padding: 12px 20px; /* Increased padding for better click area */
    margin: 10px 0; /* Reduced margin */
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #2c3e50; /* Changed from light to dark color */
    position: relative;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Lighter shadow */
    border-radius: 50px; /* More circular corners */
    background: #f8f9fa; /* Light background instead of dark */
    transition: all 0.3s ease;
}

.protab-tab:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #3498db;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.protab-tab.active {
    font-weight: 500;
    background: #e9ecef; /* Slightly darker background for active tab */
    text-decoration:none ;
}

.protab-tab.active:after {
    transform: scaleY(1);
    
}

.protab-tab:hover {
    background: #e9ecef; /* Hover state matches active */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-decoration:none ;
}

.protab-thumb {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 10px;
}

.protab-title {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

/* Content Area */
.protab-content-area {
    background: #fff;
    border-radius: 20px;
}

/* Rest of the CSS remains the same... */
.protab-content {
    display: none;
    padding: 25px;
}

.protab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.protab-content-grid {
    display: flex;
    gap: 30px;
    width: var(--content-width);
    margin: 0 auto;
}

.protab-content-thumb {
    flex: 0 0 var(--thumb-width);
}

.protab-featured-img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.protab-content-excerpt {
    flex: 1;
    line-height: 1.7;
    color: #34495e;
}

.protab-read-more {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.protab-read-more:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* Messages */
.protab-error {
    padding: 15px;
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #f5c6cb;
    border-radius: 4px;
    margin: 1rem 0;
}

.protab-info {
    padding: 15px;
    background: #e2f3f8;
    color: #0c5460;
    border-left: 4px solid #bee5eb;
    border-radius: 4px;
    margin: 1rem 0;
}

/* Responsive */
@media (max-width: 992px) {
    .protab-content-grid {
        flex-direction: column;
    }
    
    .protab-content-thumb {
        margin-bottom: 20px;
    }
    
    .protab-tab {
        padding: 12px 15px;
    }
}

@media (max-width: 768px) {
    .protab-container {
        --content-width: 95%;
        --thumb-width: 100%;
    }
    
    .protab-title {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .protab-nav {
        width: 30px;
        height: 30px;
    }
    
    .protab-tab {
        padding: 10px 12px;
    }
    
    .protab-thumb {
        display: none;
    }
}