.gtabbed-block {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.gtabbed-nav {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #e5e7eb;
    background-color: #f9fafb;
    align-items: stretch;
}

.gtabbed-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex: 1 0 auto;
    min-width: 120px;
}

.gtabbed-tab-btn:hover {
    background-color: #f3f4f6;
    color: #1f2937;
}

.gtabbed-tab-btn.active {
    border-bottom-color: #2563eb;
    color: #2563eb;
    background-color: #ffffff;
}

.gtabbed-tab-btn i {
    font-size: 16px;
    display: inline-block;
}

.gtabbed-tab-btn span {
    display: inline;
}

.gtabbed-content {
    position: relative;
    min-height: 200px;
}

.gtabbed-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px;
    color: #6b7280;
    min-height: 200px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.gtabbed-loader.active {
    opacity: 1;
}

.gtabbed-loader .spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #e5e7eb;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.gtabbed-content-inner {
    animation: fadeIn 0.3s ease-in;
    padding: 32px;
}

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

.gtabbed-content-inner h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-top: 0;
    margin-bottom: 16px;
}

.gtabbed-content-inner > p {
    font-size: 16px;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 24px;
}

.gtabbed-content-inner ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gtabbed-content-inner li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    color: #374151;
    font-size: 14px;
}

.gtabbed-content-inner li::before {
    content: '';
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #dbeafe;
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
    counter-increment: item-counter;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.gtabbed-content-inner ol {
    counter-reset: item-counter;
}

.gtabbed-content-inner ol li::before {
    content: counter(item-counter);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
}

.gtabbed-editor-notice {
    padding: 24px;
    background-color: #f3f4f6;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    text-align: center;
}

.gtabbed-editor-notice p {
    margin: 0;
    color: #6b7280;
    font-weight: 500;
}

@media (max-width: 640px) {
    .gtabbed-tab-btn {
        padding: 12px 16px;
        font-size: 13px;
        flex: 1 1 auto;
        min-width: 90px;
    }

    .gtabbed-tab-btn span {
        display: none;
    }

    .gtabbed-tab-btn i {
        margin: 0;
    }

    .gtabbed-content-inner {
        padding: 20px;
    }

    .gtabbed-content-inner h2 {
        font-size: 20px;
    }

    .gtabbed-content-inner > p {
        font-size: 14px;
    }
}
