#wpcontent {
    padding-left: 0 !important;
}
#wpbody-content > .update-nag {
    margin: 20px !important;
}
#wpbody-content > .gends-wrap {
    margin: 0 !important;
}

/* Header Banner */
.gends-header {
    background: white;
    border-bottom: 1px solid #e8edf2;
}

.gends-header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gends-header__brand {
    display: flex;
    align-items: center;
}

.gends-header__logo {
    height: 48px;
    width: auto;
}

.gends-header__logo-text {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #5b42f3, #8e24aa, #c1274d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

/* Navigation Tabs */
.gends-nav {
    background: white;
    border-bottom: 1px solid #e8edf2;
    position: sticky;
    top: 0;
    z-index: 100;
}

.gends-nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
}

.gends-nav__tabs {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.gends-nav__tab {
    margin: 0;
}

.gends-nav__link {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #64748b !important;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.gends-nav__link:hover {
    color: #1a1a1a !important;
}

.gends-nav__link--active {
    color: #5b42f3 !important;
    border-bottom-color: #5b42f3;
}

.gends-nav__link:focus {
    outline: none;
    box-shadow: none;
}

/* Main Content */
.gends-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
}

/* Content Section */
.gends-content {
    background: white;
    border-radius: 10px;
    border: 1px solid #e8edf2;
    overflow: hidden;
}

.gends-section {
    padding: 24px;
    border-bottom: 1px solid #f1f5f9;
}

.gends-section:last-child {
    border-bottom: none;
}

.gends-section__header {
    margin-bottom: 20px;
}

.gends-section__title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 0;
    margin-bottom: 4px;
    line-height: 1.3;
}

.gends-section__subtitle {
    color: #64748b;
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

/* Form Elements */
.gends-form-group {
    margin-bottom: 20px;
}

.gends-form-group:last-child {
    margin-bottom: 0;
}

.gends-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.gends-input,
.gends-select {
    width: 100%;
    padding: 10px 14px !important;
    border: 1px solid #e8edf2 !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    transition: all 0.2s ease !important;
    color: #1a1a1a !important;
    line-height: normal !important;
    background: white !important;
}

.gends-select {
    width: 180px !important;
}

.gends-input:focus,
.gends-select:focus {
    outline: none !important;
    border-color: #5b42f3 !important;
    box-shadow: 0 0 0 3px rgba(91, 66, 243, 0.1) !important;
}

.gends-help-text {
    margin-top: 6px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
}

.gends-help-text p {
    margin: 3px 0;
}

.gends-help-text a {
    color: #5b42f3;
    text-decoration: none;
}

.gends-help-text a:hover {
    color: #4a35d0;
    text-decoration: underline;
}

/* Sidebar */
.gends-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Upgrade Card */
.gends-upgrade {
    background: white;
    border-radius: 10px;
    padding: 24px;
    border: 1px solid #e8edf2;
}

.gends-upgrade__title {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 16px;
}

.gends-upgrade__features {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: 20px;
}

.gends-upgrade__feature {
    padding: 4px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: #444;
}

.gends-upgrade__feature::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    min-width: 14px;
    margin-top: 2px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231ada81' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.gends-upgrade__cta {
    background: linear-gradient(135deg, #5b42f3, #8e24aa);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(91, 66, 243, 0.25);
    transition: all 0.2s ease;
    margin-top: 16px;
    display: block;
    text-decoration: none;
}

.gends-upgrade__cta:hover {
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #4a35d0, #7a1f90);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(91, 66, 243, 0.35);
}

.gends-upgrade__cta:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(91, 66, 243, 0.2);
}

/* Tab Content */
.gends-tab-content {
    display: none;
}

.gends-tab-content--active {
    display: block;
}

/* Support Content Styles */
.gends-support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.gends-support-card {
    background: white;
    border-radius: 10px;
    padding: 24px;
    border: 1px solid #e8edf2;
    transition: all 0.2s ease;
}

.gends-support-card:hover {
    box-shadow: 0 4px 16px rgba(91, 66, 243, 0.12);
    border-color: #5b42f3;
    transform: translateY(-2px);
}

.gends-support-card__icon {
    width: 40px;
    height: 40px;
    background: #f0edfe;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5b42f3;
    font-size: 20px;
    margin-bottom: 16px;
}

.gends-support-card__title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
    margin-top: 0;
}

.gends-support-card__description {
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.6;
    font-size: 13px;
}

.gends-support-card__link {
    color: #5b42f3;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.gends-support-card__link:hover {
    color: #4a35d0;
    gap: 8px;
}

.gends-faq {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gends-faq__item {
    background: white;
    border-radius: 10px;
    border: 1px solid #e8edf2;
    overflow: hidden;
    transition: all 0.2s ease;
}

.gends-faq__item:hover {
    border-color: #5b42f3;
    box-shadow: 0 2px 8px rgba(91, 66, 243, 0.1);
}

.gends-faq__question {
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: all 0.2s ease;
}

.gends-faq__question:hover {
    background: #f8fafc;
}

.gends-faq__question::after {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    min-width: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b42f3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    transition: transform 0.2s ease;
}

.gends-faq__question--active::after {
    transform: rotate(180deg);
}

.gends-faq__answer {
    padding: 0 20px 16px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
    display: none;
}

.gends-faq__answer a {
    color: #5b42f3;
    text-decoration: none;
}

.gends-faq__answer a:hover {
    color: #4a35d0;
    text-decoration: underline;
}

.gends-faq__answer--active {
    display: block;
}

/* Save Button Styles */
.gends-save-button {
    background: linear-gradient(135deg, #5b42f3, #8e24aa);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(91, 66, 243, 0.25);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    min-width: 140px;
    justify-content: center;
}

.gends-save-button:hover {
    background: linear-gradient(135deg, #4a35d0, #7a1f90);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(91, 66, 243, 0.35);
}

.gends-save-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(91, 66, 243, 0.2);
}

.gends-save-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.gends-save-button--loading {
    pointer-events: none;
}

.gends-save-button__spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: gend-spin 1s linear infinite;
}

@keyframes gend-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Toast Notifications */
.gends-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-left: 4px solid #10b981;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    z-index: 1000000;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.gends-toast--show {
    transform: translateX(0);
    opacity: 1;
}

.gends-toast--error {
    border-left-color: #ef4444;
}

.gends-toast--success {
    border-left-color: #10b981;
}

.gends-toast__icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.gends-toast--success .gends-toast__icon {
    background: #10b981;
}

.gends-toast--error .gends-toast__icon {
    background: #ef4444;
}

.gends-toast__content {
    flex: 1;
}

.gends-toast__title {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
}

.gends-toast__message {
    color: #64748b;
    font-size: 14px;
}

.gends-toast__close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
    text-align: center;
    padding: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.gends-toast__close:hover {
    background: #f1f5f9;
    color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
    .gends-main {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 16px;
    }

    .gends-header__container {
        padding: 16px;
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .gends-nav__container {
        flex-direction: column;
        gap: 16px;
    }

    .gends-nav__tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .gends-support-grid {
        grid-template-columns: 1fr;
    }
}
