.piwerse-editor-field > .form-label {
    align-items: center;
    color: #444050;
    display: flex;
    font-size: 0.82rem;
    font-weight: 600;
    justify-content: space-between;
    letter-spacing: 0.01em;
    margin-bottom: 0.55rem;
}

.piwerse-editor-field > .form-label::after {
    background: #f0effd;
    border-radius: 999px;
    color: #6258d3;
    content: "Zengin metin";
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.55rem;
    text-transform: uppercase;
}

.fr-box {
    --pw-editor-accent: #7367f0;
    --pw-editor-accent-soft: rgba(115, 103, 240, 0.1);
    --pw-editor-border: #dfe3e8;
    --pw-editor-border-soft: #eceef1;
    --pw-editor-surface: #ffffff;
    --pw-editor-surface-soft: #f8f8fa;
    --pw-editor-text: #2f2b3d;
    --pw-editor-muted: #85838d;
    background: var(--pw-editor-surface);
    border: 1px solid var(--pw-editor-border);
    border-radius: 0.875rem;
    box-shadow: 0 0.25rem 1.25rem rgba(47, 43, 61, 0.055);
    overflow: visible;
    position: relative;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.fr-box:focus-within {
    border-color: rgba(115, 103, 240, 0.65);
    box-shadow: 0 0 0 0.2rem rgba(115, 103, 240, 0.1),
                0 0.5rem 1.5rem rgba(47, 43, 61, 0.08);
}

.fr-box .fr-toolbar {
    background: var(--pw-editor-surface-soft);
    border: 0;
    border-bottom: 1px solid var(--pw-editor-border-soft);
    border-radius: 0.875rem 0.875rem 0 0;
    box-shadow: none;
    display: block;
    min-height: 3.75rem;
    padding: 0.5rem 0.65rem;
    white-space: nowrap;
    z-index: 1030;
}

.fr-box .fr-toolbar .fr-newline {
    display: none !important;
}

.fr-box .fr-toolbar .fr-btn-grp {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    margin: 0 0.15rem;
    padding: 0 0.15rem;
}

.fr-box .fr-toolbar .fr-btn-grp + .fr-btn-grp {
    border-left: 1px solid #e4e6ea;
    margin-left: 0.25rem;
    padding-left: 0.45rem;
}

.fr-box .fr-toolbar .fr-command.fr-btn {
    border: 0;
    border-radius: 0.5rem;
    color: #4b4855;
    height: 2.35rem;
    margin: 0.08rem;
    min-width: 2.35rem;
    transition: background-color 0.15s ease, color 0.15s ease,
                box-shadow 0.15s ease, transform 0.15s ease;
}

.fr-box .fr-toolbar .fr-command.fr-btn:hover,
.fr-box .fr-toolbar .fr-command.fr-btn:focus {
    background: #ffffff;
    box-shadow: 0 0.125rem 0.45rem rgba(47, 43, 61, 0.1);
    color: var(--pw-editor-accent);
    transform: translateY(-1px);
}

.fr-box .fr-toolbar .fr-command.fr-btn.fr-active {
    background: var(--pw-editor-accent-soft);
    box-shadow: inset 0 0 0 1px rgba(115, 103, 240, 0.08);
    color: var(--pw-editor-accent);
}

.fr-box .fr-toolbar .fr-command.fr-btn svg path {
    fill: currentColor;
}

.fr-box .fr-toolbar .fr-more-toolbar {
    background: var(--pw-editor-surface-soft);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    padding: 0;
    white-space: normal;
}

.fr-box .fr-toolbar .fr-more-toolbar.fr-expanded {
    background: #ffffff;
    border-top: 1px solid var(--pw-editor-border-soft);
    box-shadow: inset 0 0.25rem 0.75rem rgba(47, 43, 61, 0.025);
    height: 3.25rem;
    margin-top: 0.5rem;
    padding: 0.35rem 0.55rem;
}

.fr-box .fr-wrapper {
    background: var(--pw-editor-surface);
    border: 0 !important;
    box-shadow: none !important;
}

.fr-box .fr-element {
    color: var(--pw-editor-text);
    font-family: "Public Sans", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    padding: 1.75rem 2rem;
}

.fr-box .fr-element:focus {
    outline: 0;
}

.fr-box .fr-placeholder {
    color: #aaa8b1;
    font-size: 0.95rem;
    padding: 1.75rem 2rem;
}

.fr-box .fr-second-toolbar {
    align-items: center;
    background: #fbfbfc;
    border: 0;
    border-radius: 0 0 0.875rem 0.875rem;
    border-top: 1px solid var(--pw-editor-border-soft);
    display: flex;
    justify-content: flex-end;
    min-height: 2.35rem;
    padding: 0.35rem 0.65rem;
}

.fr-box .fr-counter {
    background: #f0effd;
    border: 0;
    border-radius: 999px;
    color: #6258d3;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin: 0;
    padding: 0.28rem 0.65rem;
    position: static;
}

.fr-box .fr-quick-insert {
    background: #fff;
    border: 1px solid var(--pw-editor-border);
    box-shadow: 0 0.25rem 0.75rem rgba(47, 43, 61, 0.12);
    color: var(--pw-editor-accent);
}

.fr-popup,
.fr-modal {
    border: 1px solid var(--pw-editor-border-soft, #eceef1) !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 1rem 2.5rem rgba(47, 43, 61, 0.18) !important;
    overflow: hidden;
    z-index: 1100 !important;
}

.fr-popup .fr-buttons,
.fr-popup .fr-tabs {
    background: #f8f8fa;
}

.fr-dropdown-menu {
    border: 1px solid var(--pw-editor-border-soft, #eceef1) !important;
    border-radius: 0.65rem !important;
    box-shadow: 0 0.75rem 2rem rgba(47, 43, 61, 0.16) !important;
    overflow: hidden;
}

.fr-dropdown-menu .fr-dropdown-list li a {
    border-radius: 0.4rem;
    margin: 0.12rem 0.25rem;
}

.fr-box.fr-fullscreen {
    border: 0;
    border-radius: 0;
    z-index: 1090 !important;
}

.fr-view img,
.fr-element img {
    border-radius: 0.5rem;
    height: auto;
    max-width: 100%;
}

.fr-view .fr-video,
.fr-element .fr-video {
    border-radius: 0.5rem;
    max-width: 100%;
    overflow: hidden;
}

.fr-view table,
.fr-element table {
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.25rem 0;
    overflow: hidden;
    width: 100%;
}

.fr-view table td,
.fr-view table th,
.fr-element table td,
.fr-element table th {
    border-bottom: 1px solid #e2e5e9;
    border-right: 1px solid #e2e5e9;
    padding: 0.8rem;
    vertical-align: top;
}

.fr-view table tr:first-child td,
.fr-view table tr:first-child th,
.fr-element table tr:first-child td,
.fr-element table tr:first-child th {
    border-top: 1px solid #e2e5e9;
}

.fr-view table td:first-child,
.fr-view table th:first-child,
.fr-element table td:first-child,
.fr-element table th:first-child {
    border-left: 1px solid #e2e5e9;
}

.fr-view blockquote,
.fr-element blockquote {
    background: #f8f7ff;
    border-left: 4px solid var(--pw-editor-accent, #7367f0);
    border-radius: 0 0.5rem 0.5rem 0;
    color: #5d596c;
    margin: 1.25rem 0;
    padding: 0.9rem 1.25rem;
}

.fr-view .fr-text-lead,
.fr-element .fr-text-lead {
    font-size: 1.2rem;
    line-height: 1.75;
}

.fr-view .fr-text-muted,
.fr-element .fr-text-muted {
    color: var(--pw-editor-muted, #85838d);
}

.fr-view .fr-callout,
.fr-element .fr-callout {
    background: #f7f6ff;
    border: 1px solid #dfdcff;
    border-left: 4px solid #7367f0;
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
}

.fr-view .fr-highlight,
.fr-element .fr-highlight {
    background: #fff1c2;
    border-radius: 0.2rem;
    padding: 0.08rem 0.25rem;
}

.fr-view .fr-badge,
.fr-element .fr-badge {
    background: #eeecff;
    border-radius: 999px;
    color: #5e50ee;
    display: inline-block;
    font-size: 0.8em;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
}

@media (max-width: 991.98px) {
    .fr-box .fr-toolbar {
        min-height: 3.4rem;
        padding: 0.4rem;
        white-space: normal;
    }

    .fr-box .fr-toolbar .fr-btn-grp + .fr-btn-grp {
        border-left: 0;
        margin-left: 0.1rem;
        padding-left: 0.1rem;
    }
}

@media (max-width: 767.98px) {
    .fr-box {
        border-radius: 0.7rem;
    }

    .fr-box .fr-toolbar {
        border-radius: 0.7rem 0.7rem 0 0;
    }

    .fr-box .fr-toolbar .fr-command.fr-btn {
        height: 2.2rem;
        min-width: 2.2rem;
    }

    .fr-box .fr-element,
    .fr-box .fr-placeholder {
        padding: 1.25rem;
    }

    .fr-box .fr-second-toolbar {
        border-radius: 0 0 0.7rem 0.7rem;
    }
}
