.gdtp-language-tabs {
    margin: 0 0 1.25rem;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: .65rem;
    background: rgba(0, 0, 0, .02);
}

.gdtp-language-tabs__label {
    margin-bottom: .55rem;
    font-weight: 700;
}

.gdtp-language-tabs__buttons {
    display: inline-flex;
    gap: .25rem;
    padding: .25rem;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: .55rem;
    background: rgba(0, 0, 0, .035);
}

.gdtp-language-tab {
    min-width: 7rem;
    padding: .55rem .9rem;
    border: 0;
    border-radius: .4rem;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.gdtp-language-tab.is-active {
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .14);
}

.gdtp-language-tabs__hint {
    margin: .65rem 0 0;
    font-size: .9em;
    opacity: .75;
}

.gdtp-language-field[hidden] {
    display: none !important;
}

.gdtp-language-field--fa {
    text-align: right;
}

.gdtp-persian-control {
    margin-bottom: 1rem;
}

.gdtp-persian-control > label,
.gdtp-seo-field > label {
    display: block;
    margin-bottom: .35rem;
    font-weight: 600;
}

.gdtp-rtl-input {
    width: 100%;
    direction: rtl;
    text-align: right;
}

.gdtp-seo-panel {
    margin: 1.15rem 0 1.35rem;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, .14);
    border-radius: .6rem;
    background: rgba(0, 0, 0, .018);
}

.gdtp-seo-panel legend {
    padding: 0 .4rem;
    font-weight: 700;
}

.gdtp-seo-field {
    margin: 0 0 .9rem;
}

.gdtp-seo-field input,
.gdtp-seo-field textarea {
    width: 100%;
}

.gdtp-seo-field small,
.gdtp-social-details small,
.gdtp-seo-note {
    display: block;
    margin-top: .3rem;
    font-size: .86em;
    line-height: 1.45;
    opacity: .72;
}

.gdtp-social-details {
    margin-top: .45rem;
    padding-top: .25rem;
}

.gdtp-social-details summary {
    margin-bottom: .8rem;
    cursor: pointer;
    font-weight: 600;
}

@media (max-width: 600px) {
    .gdtp-language-tabs__buttons {
        display: flex;
        width: 100%;
    }

    .gdtp-language-tab {
        flex: 1 1 50%;
        min-width: 0;
    }
}

/* WordPress admin GeoDirectory Add/Edit Listing meta box */
.gdtp-admin-metabox .gdtp-language-tabs {
    margin-top: 0;
}

.gdtp-admin-control {
    margin: 0 0 1rem;
}

.gdtp-admin-control > label {
    display: block;
    margin-bottom: .35rem;
    font-weight: 600;
}

.gdtp-admin-metabox textarea.widefat {
    min-height: 9rem;
}

.gdtp-seo-note--compat {
    margin-bottom: 1rem;
    padding: .65rem .75rem;
    border-left: 3px solid currentColor;
}

.gdtp-language-field--fa .gdtp-seo-note--compat {
    border-left: 0;
    border-right: 3px solid currentColor;
}
