.dcv-coach-admin .form-table td,
.dcv-coach-admin .form-table th {
    padding-top: 10px;
    padding-bottom: 10px;
}

.dcv-coach-form-heading,
.dcv-coach-form-field legend {
    font-size: 17px;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    color: #1f2833;
}

.dcv-coach-admin label strong,
.dcv-coach-admin legend {
    font-size: 15px;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.dcv-coach-form-control {
    display: flex;
    align-items: center;
    height: 44px;
    border: 1px solid #cfd6de;
    border-radius: 8px;
    background: #fff;
    padding: 0 14px;
    gap: 8px;
    box-sizing: border-box;
}

.dcv-coach-form-control:focus-within {
    border-color: #cfd6de;
    box-shadow: none;
}

.dcv-coach-form-control input[type="text"],
.dcv-coach-form-control select,
.dcv-coach-form-control textarea,
.dcv-coach-form-control input[type="file"] {
    width: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    outline: none;
    box-shadow: none;
    height: 100%;
    line-height: 44px;
    box-sizing: border-box;
    font: inherit;
    color: inherit;
}

.dcv-coach-form-control--textarea {
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
}

.dcv-coach-form-control--textarea textarea {
    min-height: 140px;
    height: auto;
    line-height: 1.5;
    padding: 10px 14px;
    border: 1px solid #cfd6de;
    border-radius: 8px;
    background: #fff;
}

.dcv-coach-form-control--file {
    padding: 0;
    overflow: hidden;
}

.dcv-coach-form-control--file input[type="file"] {
    height: 44px;
    line-height: 44px;
    padding: 0;
}

.dcv-coach-form-control--file input[type="file"]::file-selector-button {
    height: 44px;
    padding: 0 14px;
    border: 0;
    border-right: 1px solid #cfd6de;
    background: #f7f9fb;
    color: #44505e;
    cursor: pointer;
}

.dcv-coach-form-control select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #6b7684 50%),
        linear-gradient(135deg, #6b7684 50%, transparent 50%);
    background-position: calc(100% - 8px) 50%, calc(100% - 2px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 22px;
}

.dcv-coach-form .dcv-checkbox-list.dcv-checkbox-list--chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dcv-coach-form .dcv-chip-option {
    position: relative;
    cursor: pointer;
}

.dcv-coach-form .dcv-chip-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.dcv-coach-form .dcv-chip-option span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(31, 40, 51, 0.2);
    background: rgba(155, 193, 162, 0.12);
    color: #1f2833;
    font-weight: 600;
    transition: all 0.2s ease;
}

.dcv-coach-form .dcv-chip-option input:checked + span {
    background: rgba(31, 40, 51, 0.9);
    color: #ffffff;
    border-color: rgba(31, 40, 51, 0.9);
}

.dcv-checkbox-list label {
    display: inline-flex;
    align-items: center;
    margin: 0 18px 10px 0;
    font-weight: 500;
}

.dcv-checkbox-list input {
    margin-right: 8px;
}

.dcv-editor-wrapper {
    margin-top: 8px;
}

.dcv-coach-form .wp-editor-tabs,
.dcv-coach-admin .wp-editor-tabs {
    display: none;
}

.dcv-coach-form .wp-switch-editor,
.dcv-coach-admin .wp-switch-editor {
    border: none;
    padding: 6px 22px;
    font-weight: 600;
    letter-spacing: .4px;
    color: #5c5f66;
    background: transparent;
    text-transform: uppercase;
    font-size: 12px;
    transition: background .2s, color .2s;
    position: relative;
    flex: 1 1 50%;
    text-align: center;
}

.dcv-coach-form .wp-switch-editor.active,
.dcv-coach-admin .wp-switch-editor.active {
    background: #1f2833;
    color: #fff;
}

.dcv-coach-form .wp-editor-container,
.dcv-coach-admin .wp-editor-container {
    border: 1px solid #d6d7db;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.dcv-coach-form .quicktags-toolbar,
.dcv-coach-admin .quicktags-toolbar {
    padding: 6px 10px;
    background: #f8f9fb;
}

.dcv-media-preview {
    margin-bottom: 10px;
}

.dcv-media-preview img {
    border-radius: 12px;
    border: 1px solid #e2e4e9;
}

.dcv-seal-placeholder {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f0f2f5;
    font-size: 13px;
    color: #6b7280;
}

.dcv-certification-seals {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.dcv-coach-form__certifications .dcv-certification-seals {
    margin-top: 8px;
}

.dcv-coach-form__certifications .dcv-certification-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 10px;
    background: #EE9289;
}

.dcv-coach-form__certifications .dcv-certification-badge--iobc {
    background: transparent;
    padding: 0;
    height: 100px;
}

.dcv-coach-form__certifications .dcv-certification-badge--iobc img {
    height: 100% !important;
    width: auto;
}

.dcv-certification-badge img {
    display: block;
    height: 80px !important;
    width: auto;
}

.dcv-certification-label {
    font-weight: 600;
    color: #1f2833;
    font-size: 14px;
}

.dcv-coach-form .wp-editor-area,
.dcv-coach-form .dcv-coach-form-control--textarea textarea {
    font-family: var(--e-global-typography-text-font-family, Arial, Helvetica, sans-serif);
    font-size: 16px;
    line-height: 1.6;
    color: #1f2833;
}

.dcv-toggle-group {
    display: inline-flex;
    border: 1px solid #d6d7db;
    border-radius: 999px;
    overflow: hidden;
}

.dcv-toggle {
    position: relative;
}

.dcv-toggle input {
    position: absolute;
    opacity: 0;
}

.dcv-toggle span {
    display: block;
    padding: 6px 18px;
    cursor: pointer;
    font-weight: 600;
    color: #5c5f66;
    background: #fff;
    transition: background .15s, color .15s;
}

.dcv-toggle input:checked + span {
    background: #1f2833;
    color: #fff;
}

.dcv-coach-form fieldset.dcv-coach-form-field {
    border: 1px solid #dfe1e6;
    border-radius: 16px;
    padding: 16px;
}

.dcv-coach-form fieldset .dcv-toggle-group {
    margin-top: 6px;
}

.dcv-coach-notice {
    background: #e1f6ec;
    border-left: 4px solid #0a8a4b;
    padding: 12px 16px;
    margin-bottom: 24px;
    border-radius: 6px;
}

.dcv-coach-form small {
    display: block;
    color: #6b7280;
    margin-top: 6px;
}

.dcv-file-name {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #1f2833;
}

.dcv-coach-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dcv-coach-form__sections {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.dcv-coach-form__section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dcv-coach-form__section-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #1f2833;
}

.dcv-coach-form-field--no-label .dcv-coach-form-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.dcv-coach-form__fields {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 32px;
}

.dcv-coach-form-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 calc(50% - 16px);
    min-width: 260px;
}

.dcv-coach-form-field--half {
    flex-basis: calc(50% - 16px);
}

.dcv-coach-form-field--full {
    flex-basis: 100%;
}

.dcv-coach-form-field--media .dcv-media-preview {
    min-height: 120px;
}

.dcv-coach-form-label {
    font-size: 15px;
    font-weight: 600;
    color: #1f2833;
}

.dcv-coach-form-field.dcv-visibility-field,
.dcv-switch-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.dcv-switch-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2833;
    flex: 1;
    min-width: 180px;
}

.dcv-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: auto;
    height: 24px;
}

.dcv-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.dcv-slider {
    position: relative;
    width: 50px;
    height: 24px;
    background: #d6d7db;
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s;
    display: inline-block;
}

.dcv-slider:before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 2px;
    top: 2px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.dcv-slider::after {
    display: none;
}

.dcv-switch input:checked + .dcv-slider {
    background: #1f2833;
}

.dcv-switch input:checked + .dcv-slider:before {
    transform: translateX(26px);
}

.dcv-switch-label {
    font-size: 13px;
    font-weight: 600;
    color: #1f2833;
    text-align: left;
    min-width: 80px;
}


.dcv-coach-form .quicktags-toolbar input.button,
.dcv-coach-admin .quicktags-toolbar input.button {
    background: #f6f7f7;
    color: #1d2327;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    padding: 4px 10px;
    font-weight: 500;
}

.dcv-coach-form .quicktags-toolbar input.button:hover,
.dcv-coach-admin .quicktags-toolbar input.button:hover {
    background: #f0f0f1;
    color: #1d2327;
}

.dcv-coach-form .mce-container .mce-btn button,
.dcv-coach-admin .mce-container .mce-btn button {
    color: #1d2327;
    background: #f6f7f7;
    border-radius: 4px;
    border-color: #c3c4c7;
}

.dcv-coach-form .mce-container .mce-btn button:hover,
.dcv-coach-form .mce-container .mce-btn.mce-active button,
.dcv-coach-admin .mce-container .mce-btn button:hover,
.dcv-coach-admin .mce-container .mce-btn.mce-active button {
    background: #f0f0f1;
    color: #1d2327;
}

.dcv-coach-form .wp-editor-container .mce-toolbar .mce-btn button,
.dcv-coach-admin .wp-editor-container .mce-toolbar .mce-btn button {
    font-weight: 500;
}

.dcv-coach-form__visibility {
    padding: 12px 0;
    border-bottom: 1px solid #eceff3;
    margin-bottom: 12px;
}

.dcv-coach-form__admin {
    border: 1px solid #dfe1e6;
    border-radius: 16px;
    padding: 16px;
}

.dcv-coach-form__actions {
    margin-top: 12px;
}

.dcv-coach-form__submit.button {
    border: none;
    padding: 12px 34px;
    font-size: 16px;
    font-weight: 600;
}

.dcv-form-tooltip-wrapper {
    display: inline-flex;
    margin-left: 6px;
}

.dcv-form-tooltip {
    border: none;
    background: #e6e8ee;
    color: #1f2833;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.dcv-form-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2833;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    min-width: 160px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
    z-index: 2;
}

.dcv-form-tooltip:focus-visible,
.dcv-form-tooltip:hover {
    outline: none;
}

.dcv-form-tooltip:focus-visible::after,
.dcv-form-tooltip:hover::after {
    opacity: 1;
}

@media (max-width: 640px) {
    .dcv-coach-form-field {
        flex-basis: 100%;
    }

    .dcv-switch-field {
        flex-direction: column;
        align-items: flex-start;
    }
}
