.custom-tabs-wrapper {
    width: 100%;
    margin: 20px 0;
}

.custom-tabs-nav {
    display: flex;
    gap: 0;
    margin-bottom: 0;
    flex-wrap: wrap;
    background: transparent;
    align-items: flex-end;
}

.custom-tab-button {
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    white-space: nowrap;
}

.custom-tab-button:first-child {
    border-radius: 15px 0 0 0;
}

.custom-tab-button:not(:first-child) {
    border-radius: 0;
}

.custom-tab-button i {
    font-size: 22px;
    color: #6a1b9a;
    transition: all 0.3s ease;
}

.custom-tab-button span {
    font-size: 16px;
    font-weight: 500;
}

.custom-tab-button:hover {
    background: rgba(255, 255, 255, 0.95);
}

.custom-tab-button.active {
    background: rgba(255, 255, 255, 1);
    color: #333;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.custom-tab-button.active i {
    color: #6a1b9a;
}

.custom-tabs-content {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 0 15px 15px 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.custom-tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
    padding: 30px;
}

.custom-tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .custom-tabs-nav {
        flex-direction: column;
        align-items: stretch;
    }
    
    .custom-tab-button {
        width: 100%;
        border-radius: 0 !important;
    }
    
    .custom-tab-button:first-child {
        border-radius: 15px 15px 0 0 !important;
    }
    
    .custom-tabs-content {
        border-radius: 0 0 15px 15px;
    }
    
    .custom-tab-panel {
        padding: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .custom-tab-button {
        padding: 18px 35px;
        font-size: 15px;
    }
    
    .custom-tab-button i {
        font-size: 20px;
    }
}