/*
 * SEO Repair Kit - Admin Styles
 * Version: 2.1.3
 * Description: Main stylesheet for SEO Manager admin interface
 * @author     TorontoDigits <support@torontodigits.com>
 */

/* ==============================
   SEO REPAIR KIT - GLOBAL SETTINGS
=============================== */
.srk-global-settings {
    max-width: 100%;
    width: 100%;
    margin: 20px 0;
    font-family: 'Figtree', sans-serif !important;
}

/* Sections */
.srk-section {
    background: #fff;
    border-radius: 2px;
    margin-bottom: 25px;
    padding: 25px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.srk-section-title {
    margin-top: 0;
    margin-bottom: 5px;
    color: #1d2327;
    font-size: 1.5em;
    font-weight: 600;
}

.srk-section-desc {
    color: #646970;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 14px;
}

/* Preview Box */
.srk-preview-box {
    background: #f8f9fa;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    margin-bottom: 25px;
    overflow: hidden;
}

.srk-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f0f0f1;
    border-bottom: 1px solid #dcdcde;
}

.srk-preview-header h3 {
    margin: 0;
    font-size: 16px;
    color: #2c3338;
}

.srk-preview-tag {
    font-size: 12px;
    color: #646970;
    background: #fff;
    padding: 3px 8px;
    border-radius: 3px;
    border: 1px solid #dcdcde;
}

/* Google Preview */
.srk-google-preview {
    padding: 20px;
    font-family: arial, sans-serif;
}

.srk-preview-author {
    font-size: 13px;
    color: #70757a;
    margin-bottom: 4px;
}

.srk-preview-title {
    color: #1a0dab;
    font-size: 18px;
    margin-bottom: 4px;
    font-weight: normal;
    line-height: 1.3;
}

.srk-preview-title:hover {
    text-decoration: underline;
    cursor: pointer;
}

/* Fix: Prevent L|o|r|e|m character-splitting in preview - use normal text flow */
.srk-preview-title,
#srk-preview-title,
#srk-modal-preview-title,
.srk-preview-desc,
#srk-preview-description,
#srk-modal-preview-description {
    white-space: normal !important;
    word-wrap: break-word;
}

.srk-preview-separator {
    margin: 0 5px;
    color: #545454;
}

.srk-preview-url {
    color: #006621;
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.srk-preview-desc {
    color: #545454;
    font-size: 13px;
    line-height: 1.4;
}

/* Separator Selector */
.srk-separator-selector {
    margin-top: 25px;
}

.srk-separator-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.srk-sep-option {
    position: relative;
}

.srk-sep-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.srk-sep-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #f0f0f1;
    border: 2px solid #dcdcde;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.srk-sep-btn:hover {
    background: #e0e0e0;
    border-color: #8c8f94;
}

.srk-sep-btn.active {
    background: #0B1D51;
    color: #fff;
}

.srk-custom-btn {
    width: auto;
    min-width: 80px;
    padding: 0 15px;
    font-size: 14px;
}

/* Show More */
.srk-show-more-wrap {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.srk-show-more {
    background: transparent;
    border: none;
    color: #0B1D51;
    text-decoration: none;
    cursor: pointer;
    font-size: 13px;
    padding: 5px 10px;
}

.srk-show-more:hover {
    color: #0B1D51;
    text-decoration: underline;
}

/* More Separators */
.srk-more-separators {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Custom Separator */
.srk-custom-input {
    margin-top: 15px;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.srk-custom-input input {
    width: 100%;
    max-width: 200px;
    padding: 10px 15px;
    border: 2px solid #8c8f94;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

/* Field Groups */
.srk-field-group {
    margin-bottom: 30px;
}

.srk-field-group h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    color: #2c3338;
}

.srk-field-desc {
    color: #646970;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 13px;
}

.srk-view-tags {
    float: right;
    text-decoration: none;
    color: #0B1D51;
}

.srk-view-tags:hover {
    text-decoration: underline;
}

/* Tag Buttons */
.srk-tag-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.srk-tag-btn {
    display: inline-flex;
    align-items: center;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 5px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #0B1D51;
    transition: all 0.2s ease;
    gap: 6px;
}

.srk-tag-btn:hover {
    background: linear-gradient(135deg, rgba(11, 29, 81, 0.08) 0%, rgba(11, 29, 81, 0.12) 100%);
    border-color: rgba(11, 29, 81, 0.25);
    color: #0B1D51;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(11, 29, 81, 0.1);
}

/* Input with Counter */
.srk-input-with-counter {
    position: relative;
}

.srk-input-with-counter input,
.srk-input-with-counter textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.srk-input-with-counter textarea {
    min-height: 100px;
    resize: vertical;
}

.srk-counter {
    margin-top: 8px;
    font-size: 13px;
    color: #646970;
}

.srk-status {
    margin-left: 10px;
    font-weight: 600;
}

.srk-status.good {
    color: #00a32a;
}

.srk-status.warning {
    color: #dba617;
}

.srk-status.error {
    color: #d63638;
}

/* Knowledge Graph */
.srk-type-selector {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.srk-type-selector input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.srk-type-btn {
    flex: 1;
    padding: 15px;
    background: #f0f0f1;
    border: 2px solid #dcdcde;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.srk-type-btn:hover {
    border-color: #8c8f94;
    background: #e0e0e0;
}

.srk-type-btn .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.srk-type-btn.active {
    background: #0B1D51;
    color: #fff;
}

.srk-type-btn.active .dashicons {
    color: #fff;
}

/* Organization Details */
.srk-org-details {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 20px;
    margin-top: 15px;
}

.srk-form-row {
    margin-bottom: 20px;
}

.srk-form-row:last-child {
    margin-bottom: 0;
}

.srk-form-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2c3338;
}

/* Contact Fields */
.srk-contact-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 782px) {
    .srk-contact-fields {
        grid-template-columns: 1fr;
    }
}

.srk-contact-field {
    margin-bottom: 15px;
}

.srk-phone-input {
    display: flex;
    gap: 10px;
}

.srk-phone-input select {
    width: 100px;
}

/* Business Fields */
.srk-business-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 782px) {
    .srk-business-fields {
        grid-template-columns: 1fr;
    }
}

/* Logo Upload */
.srk-logo-upload {
    margin-top: 15px;
}

.srk-logo-preview {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.srk-logo-preview img {
    max-width: 100px;
    max-height: 100px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    background: #fff;
}

/* Submit Section */
.srk-submit-section {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.srk-status-message {
    flex: 1;
    padding: 10px 15px;
    border-radius: 4px;
    display: none;
}

/* Responsive */
@media (max-width: 782px) {
    .srk-section {
        padding: 20px;
    }

    .srk-separator-buttons {
        gap: 6px;
    }

    .srk-sep-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .srk-custom-btn {
        min-width: 70px;
        padding: 0 10px;
    }

    .srk-tag-buttons {
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .srk-separator-buttons {
        gap: 4px;
    }

    .srk-sep-btn {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
}

/* styling of srk-content-meta-manager start here */
/* Wrap */
.srk-content-meta-manager {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

/* Post type wrapper */
.srk-post-type-wrapper {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
}

/* Section Titles */
.srk-post-type-wrapper h3 {
    margin-top: 0;
    font-size: 18px;
    font-weight: 600;
    color: #23282d;
}

/* Relevant tag container */
.srk-relevant-tags,
.srk-all-tags {
    margin-top: 8px;
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Tag chips */
.srk-tag {
    display: inline-flex;
    align-items: center;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #0B1D51;
    gap: 6px;
}

.srk-tag:hover {
    background: linear-gradient(135deg, rgba(11, 29, 81, 0.08) 0%, rgba(11, 29, 81, 0.12) 100%);
    border-color: rgba(11, 29, 81, 0.25);
    color: #0B1D51;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(11, 29, 81, 0.1);
}

.srk-tag-icon {
    font-weight: bold;
    color: #0B1D51;
    opacity: 0.8;
}

/* View all link */
.srk-view-all-tags {
    display: inline-block;
    margin-top: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    color: #0B1D51;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 4px 0;
}

.srk-view-all-tags:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Tag input wrapper */
.srk-tag-input-wrapper {
    margin-bottom: 20px;
}

/* Inputs */
.srk-title-input,
.srk-desc-input {
    width: 100%;
    max-width: 600px;
    padding: 7px 10px;
    border-radius: 3px;
    border: 1px solid #c3c4c7;
    font-size: 13px;
}

/* Visual tag input: display area + chips (srk post title | site name) */
.srk-tag-input-visual-wrapper {
    width: 100%;
    max-width: 600px;
}

.srk-tag-input-display {
    width: 100%;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #E5E7EB;
    font-size: 14px;
    background: #FFFFFF;
    outline: none;
    box-sizing: border-box;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    color: #111827;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.srk-tag-input-display:hover {
    border-color: #D1D5DB;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.srk-tag-input-display::-webkit-scrollbar {
    display: none;
}

.srk-tag-input-display:focus {
    border-color: #0B1D51;
    box-shadow: 0 0 0 3px rgba(11, 29, 81, 0.1);
    background: #FFFFFF;
}

/* Preview Box */
.srk-preview-wrapper p {
    margin: 0 0 6px;
    font-weight: 600;
}

.srk-preview-wrapper {
    margin: 16px 0;
}

.srk-meta-preview>div {
    border: 1px solid #dcdcdc;
    padding: 10px;
    border-radius: 4px;
    background: #fafafa;
}

/* Google style preview text */
.srk-meta-preview .url {
    color: #70757a;
    font-size: 12px;
}

.srk-meta-preview .title {
    color: #1a0dab;
    font-size: 16px;
    margin: 2px 0;
}

.srk-meta-preview .desc {
    color: #3c4043;
    font-size: 13px;
    margin-top: 2px;
}

/* Tag button container */
.srk-relevant-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* Button style tag */
.srk-tag-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f0f0f1 !important;
    border: 1px solid #c3c4c7;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 3px;
    cursor: pointer;
    transition: all .2s ease;
    user-select: none;
}

/* Plus icon */
.srk-tag-icon {
    font-weight: bold;
    font-size: 14px;
    line-height: 1;
    margin-right: 2px;
    color: #2271b1;
}

/* Hover effect like buttons */
.srk-tag-btn:hover {
    background: #dbeeff;
    border-color: #5b9dd9;
    transform: translateY(-1px);
}

/* ===============================
   TAG SELECTION MODAL STYLES
   =============================== */

/* Modal Overlay */
.srk-tag-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    animation: srkFadeIn 0.2s ease;
}

.srk-tag-modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal Container */
.srk-tag-modal {
    background-color: #ffffff;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: srkSlideUp 0.3s ease;
}

/* Modal Header */
.srk-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
}

.srk-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
    margin: 0;
}

.srk-modal-actions {
    display: flex;
    gap: 8px;
}

/* Modal Buttons */
.srk-modal-delete,
.srk-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    border-radius: 4px;
    transition: all 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.srk-modal-delete {
    color: #d63638;
}

.srk-modal-delete .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.srk-modal-delete:hover {
    background-color: #d63638;
    color: #ffffff;
}

.srk-modal-delete:hover .dashicons {
    color: #ffffff;
}

.srk-modal-close {
    font-size: 24px;
    color: #646970;
}

.srk-modal-close:hover {
    background-color: #f0f0f1;
    color: #1d2327;
}

.srk-modal-delete.hidden {
    display: none;
}

/* Search Section */
.srk-modal-search {
    padding: 16px 24px;
    border-bottom: 1px solid #e0e0e0;
}

.srk-search-input {
    width: 100%;
    padding: 10px 12px 10px 42px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    font-size: 14px;
}

.srk-search-input:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.srk-search-input::placeholder {
    color: #646970;
    opacity: 0.7;
}

/* Modal Body */
.srk-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

/* Tag List */
.srk-tag-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Tag Item */
.srk-tag-item {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.srk-tag-item:hover {
    background-color: #f0f6fc;
    border-color: #c5d9ed;
}

.srk-tag-item.selected {
    background-color: #e7f3ff;
    border-color: #2271b1;
}

.srk-tag-item.hidden {
    display: none;
}

/* Tag Icon */
.srk-tag-icon-wrapper {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background-color: #2271b1;
    color: #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    margin-right: 12px;
}

/* Tag Info */
.srk-tag-info {
    flex: 1;
}

.srk-tag-name {
    font-size: 14px;
    font-weight: 600;
    color: #1d2327;
    margin: 0 0 4px 0;
}

.srk-tag-description {
    font-size: 13px;
    color: #646970;
    margin: 0;
    line-height: 1.5;
}

.srk-tag-code {
    display: inline-block;
    margin: 0 0 4px 0;
    padding: 2px 6px;
    font-size: 11px;
    font-family: monospace;
    background: #f9fafb;
    border-radius: 3px;
    color: #374151;
}

/* Input Fields */
.srk-title-input,
.srk-desc-input {
    cursor: text;
}

/* Scrollbar Styling */
.srk-modal-body::-webkit-scrollbar {
    width: 8px;
}

.srk-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.srk-modal-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.srk-modal-body::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Animations */
@keyframes srkFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes srkSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.srk-tag-dropdown-panel {
    position: absolute;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    width: 320px;
    max-height: 350px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    margin-top: 8px;
}

.srk-field-group {
    position: relative;
}

/* Responsive Design */
@media (max-width: 600px) {
    .srk-tag-modal {
        width: 95%;
        max-height: 90vh;
    }

    .srk-modal-header,
    .srk-modal-search {
        padding: 16px;
    }
}

/* Accessibility Improvements */
.srk-modal-delete:focus,
.srk-modal-close:focus,
.srk-search-input:focus,
.srk-tag-item:focus {
    outline: 2px solid #2271b1;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .srk-tag-modal {
        border: 2px solid #000000;
    }

    .srk-modal-header {
        border-bottom: 2px solid #000000;
    }

    .srk-modal-search {
        border-bottom: 2px solid #000000;
    }
}

/* ===============================
   CONTENT TYPES TABS of content type setting
   =============================== */

/* Post Type Header */
.srk-post-type-header {
    margin-bottom: 15px;
}

/* Tabs Navigation */
.srk-content-tabs-nav {
    display: flex;
    border-bottom: 1px solid #dcdcde;
    margin-bottom: 20px;
    gap: 0;
}

.srk-content-tab {
    display: inline-block;
    padding: 12px 20px;
    text-decoration: none;
    color: #646970;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.srk-content-tab:hover {
    color: #2271b1;
    background-color: #f6f7f7;
}

.srk-content-tab.active {
    color: #2271b1;
    border-bottom-color: #2271b1;
    background-color: transparent;
}

/* Tab Content */
.srk-content-tabs-content {
    position: relative;
}

.srk-tab-pane {
    display: none;
}

.srk-tab-pane.active {
    display: block;
    animation: srkFadeIn 0.3s ease;
}

/* Unified tab nav (Classic metabox, Term SEO) */
.srk-meta-box-wrapper .srk-tabs-nav {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    border-bottom: 1px solid #c3c4c7;
    padding-bottom: 0;
}

.srk-meta-box-wrapper .srk-tab-btn {
    display: inline-block;
    padding: 10px 16px;
    background: transparent;
    border: none;
    color: #646970;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.srk-meta-box-wrapper .srk-tab-btn:hover {
    color: #2271b1;
}

.srk-meta-box-wrapper .srk-tab-btn.active {
    color: #2271b1;
    border-bottom-color: #2271b1;
}

/* Advanced Settings Section */
.srk-advanced-section {
    margin-bottom: 25px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #dcdcde;
    border-radius: 4px;
}

.srk-advanced-section .srk-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.srk-advanced-section .srk-section-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
    flex: 1;
}

/* Robots Meta Container */
.srk-robots-meta-container {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #dcdcde;
}

.srk-robots-label {
    margin-bottom: 15px;
}

.srk-robots-label strong {
    font-size: 14px;
    color: #1d2327;
}

/* Robots Checkboxes */
.srk-robots-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

/* Fix Robots Checkbox Alignment */
.srk-robots-checkbox {
    gap: 8px;
    /* reduce spacing */
    padding: 10px 14px;
    /* smaller padding */
    align-items: center;
}

.srk-robots-checkbox input[type="checkbox"] {
    margin: 0;
    vertical-align: middle;
}

.srk-robots-checkbox span {
    margin: 0;
    line-height: 1.2;
}


.srk-robots-checkbox:hover span {
    color: #2271b1;
}

/* Preview Fields */
.srk-robots-preview-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dcdcde;
}

.srk-preview-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 200px;
}

.srk-preview-field label {
    font-size: 13px;
    font-weight: 500;
    color: #1d2327;
}

.srk-preview-field input[type="number"],
.srk-preview-field select {
    padding: 6px 10px;
    border: 1px solid #c3c4c7;
    border-radius: 3px;
    font-size: 13px;
    width: 100%;
    max-width: 200px;
}

.srk-preview-field input[type="number"]:focus,
.srk-preview-field select:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 1px #2271b1;
}

.srk-preview-field select {
    cursor: pointer;
}

/* Responsive for Tabs */
@media (max-width: 782px) {
    .srk-content-tabs-nav {
        flex-wrap: wrap;
    }

    .srk-content-tab {
        padding: 10px 15px;
        font-size: 13px;
    }

    .srk-robots-checkboxes {
        flex-direction: column;
        gap: 10px;
    }

    .srk-robots-preview-fields {
        flex-direction: column;
        gap: 15px;
    }

    .srk-preview-field {
        min-width: 100%;
    }
}

/* styling of srk-content-meta-manager end here */
/* ==============================
 TAXONOMY META MANAGER STYLES
 (Rank Math / AIOSEO Style)
=============================== */

/* Taxonomy Tabs */
.srk-taxonomy-tabs {
    margin-bottom: 20px;
    border-bottom: 2px solid #0B1D51;
}

.srk-taxonomy-tabs .nav-tab {
    margin-bottom: -2px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.srk-taxonomy-tabs .nav-tab-active {
    background: #0B1D51;
    color: #fff;
    border-color: #0B1D51;
}

.srk-taxonomy-tabs .nav-tab:hover:not(.nav-tab-active) {
    background: #f0f0f1;
    border-color: #8c8f94;
}

/* Taxonomy Content */
.srk-taxonomy-content {
    background: #fff;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.srk-hidden-content {
    display: none;
}

.srk-active-content {
    display: block;
    animation: srk-fadeIn 0.3s ease;
}

@keyframes srk-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Taxonomy Header */
.srk-taxonomy-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.srk-taxonomy-header h3 {
    margin-top: 0;
    color: #1d2327;
    font-size: 1.3em;
}

/* Toggle Switch */
.srk-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.srk-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.srk-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* Tag Buttons */
.srk-tag-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.srk-taxonomy-tag {
    background: #f0f0f1;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.srk-taxonomy-tag:hover {
    background: #e0e0e0;
    border-color: #8c8f94;
    transform: translateY(-1px);
}

/* Robots Table */
.srk-robots-table {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 20px;
    margin-top: 15px;
}

.srk-robots-table th {
    width: 200px;
    padding: 10px 0;
    font-weight: 600;
    color: #2c3338;
}

.srk-robots-table td {
    padding: 10px 0;
}

.srk-robots-table label {
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
}

.srk-robots-table label.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Tooltips */
.srk-tooltip {
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    background: #dcdcde;
    color: #646970;
    border-radius: 50%;
    font-size: 11px;
    margin-left: 5px;
    cursor: help;
    font-style: italic;
}

/* Section Divider */
.srk-section-divider {
    margin: 30px 0;
    border: none;
    border-top: 1px solid #e0e0e0;
}

/* Preview Styles */
.srk-taxonomy-preview {
    background: #f8f9fa;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    font-family: arial, sans-serif;
}

.srk-taxonomy-preview .srk-preview-url {
    color: #70757a;
    font-size: 12px;
    margin-bottom: 4px;
    word-break: break-all;
}

.srk-taxonomy-preview .srk-preview-title {
    color: #1a0dab;
    font-size: 18px;
    margin-bottom: 4px;
    font-weight: normal;
    line-height: 1.3;
    cursor: pointer;
}

.srk-taxonomy-preview .srk-preview-title:hover {
    text-decoration: underline;
}

.srk-taxonomy-preview .srk-preview-desc {
    color: #545454;
    font-size: 13px;
    line-height: 1.4;
}

.srk-taxonomy-preview .srk-noindex-notice {
    margin-top: 10px;
    padding: 8px 12px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    color: #856404;
    font-size: 12px;
}

/* Disabled Section */
.srk-disabled {
    pointer-events: none;
    opacity: 0.6;
}

.srk-advanced-disabled {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.2s ease;
}


/* Reset Button */
.srk-reset-taxonomy {
    background: #d63638;
    border-color: #d63638;
    color: #fff;
    transition: all 0.2s ease;
}

.srk-reset-taxonomy:hover {
    background: #b32d2e;
    border-color: #b32d2e;
    color: #fff;
}

/* ============================================
 SMART TAGS UI STYLES (AIOSEO Style)
 ============================================ */

/* Smart Tags Container */
.srk-smart-tags-ui {
    margin: 10px 0 15px 0;
}

/* Quick Tags */
.srk-quick-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.srk-insert-tag {
    background: #f0f0f1;
    border: 1px solid #dcdcde;
    color: #2c3338;
    font-size: 12px;
    padding: 4px 10px;
    height: auto;
    line-height: 1.5;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.srk-insert-tag:hover {
    background: #e0e0e0;
    border-color: #8c8f94;
    transform: translateY(-1px);
}

.srk-view-all-tags {
    background: transparent;
    border: 1px solid #2271b1;
    color: #2271b1;
    font-size: 12px;
    padding: 4px 10px;
    height: auto;
    line-height: 1.5;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.srk-view-all-tags:hover {
    background:#e5e5e5;
    color:  #2271b1;
}

/* All Tags Modal */
.srk-all-tags-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    width: 400px;
    max-height: 70vh;
    overflow: hidden;
}

.srk-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.srk-modal-header h3 {
    margin: 0;
    font-size: 16px;
    color: #1d2327;
}

.srk-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #646970;
    line-height: 1;
    padding: 0;
    width: 24px;
    height: 24px;
}

.srk-modal-close:hover {
    color: #2271b1;
}

/* Search Box */
.srk-modal-search {
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
}

.srk-tag-search {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.srk-tag-search:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

/* Modal Body */
.srk-modal-body {
    padding: 0 20px;
    max-height: 400px;
    overflow-y: auto;
}

/* Tags List (SINGLE LIST - NO CATEGORIES) */
.srk-tags-list {
    padding: 10px 0;
}

/* Tag Item */
.srk-tag-item {
    display: flex;
    align-items: flex-start;
    padding: 10px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 8px;
}

.srk-tag-item:hover {
    background: #e7f3ff;
    border-color: #c5d9ed;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.srk-tag-item:last-child {
    margin-bottom: 0;
}

.srk-tag-icon {
    flex-shrink: 0;
    background: #2271b1;
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    margin-right: 10px;
}

.srk-tag-info {
    flex: 1;
}

.srk-tag-info strong {
    display: block;
    font-size: 13px;
    color: #1d2327;
    margin-bottom: 3px;
    font-weight: 600;
}

.srk-tag-info span {
    display: block;
    font-size: 11px;
    color: #646970;
    line-height: 1.4;
}

/* Modal Footer */
.srk-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #ddd;
    text-align: right;
}

.srk-learn-more {
    color: #2271b1;
    text-decoration: none;
    font-size: 12px;
}

.srk-learn-more:hover {
    text-decoration: underline;
}

/* Modal Overlay */
#srk-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0,0,0,0.5); */
    z-index: 9999;
}

.srk-inner-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    border-bottom: 1px solid #ddd;
}

.srk-inner-tab {
    background: none;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 600;
    border-bottom: 3px solid transparent;
}

.srk-inner-tab.active {
    border-bottom-color: #2271b1;
    color: #2271b1;
}

.srk-inner-tab-content {
    display: none;
}

.srk-inner-tab-content.active {
    display: block;
}

/* ================================
 FIX: Search Visibility Toggle UI
================================ */

/* Reset native checkbox look */
.srk-toggle input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 0;
    height: 0;
    opacity: 0;
    position: absolute;
}

/* Toggle wrapper */
.srk-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}

/* Responsive */
@media (max-width: 782px) {
    .srk-taxonomy-tabs {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
    }

    .srk-taxonomy-tabs .nav-tab {
        display: inline-block;
        float: none;
    }

    .srk-robots-table th,
    .srk-robots-table td {
        display: block;
        width: 100%;
        padding: 5px 0;
    }

    .srk-robots-table th {
        padding-top: 15px;
        border-bottom: 1px solid #eee;
    }

    .srk-all-tags-modal {
        width: 90%;
        max-width: 400px;
    }

    .srk-quick-tags {
        flex-direction: column;
        align-items: flex-start;
    }

    .srk-insert-tag,
    .srk-view-all-tags {
        width: 100%;
        text-align: left;
        justify-content: flex-start;
    }
}

/* Submit Section */
.srk-submit-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #dcdcde;
}



/* ============================================
   SEO REPAIR KIT - ADVANCED SETTINGS STYLES
   COMPETITOR: ALL IN ONE SEO
   ============================================ */

/* Main Container */
.srk-advanced-settings {
    margin: 20px 0;
    background: #fff;
    padding: 30px;
}

/* Success Notice */
.srk-advanced-settings .notice-success {
    margin: 0 0 30px 0;
    border-radius: 6px;
    border-left: 4px solid #00a32a;
    background: #edfaef;
    padding: 15px 20px;
}

/* Section Styling */
.srk-section {
    background: #fff;
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.srk-section.collapsed .srk-section-content {
    display: none;
}

.srk-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #e8eaed;
    cursor: pointer;
    transition: all 0.2s ease;
}

.srk-section-header:hover {
    background: linear-gradient(135deg, #f0f6fc 0%, #ffffff 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.srk-section-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
    display: flex;
    align-items: center;
    gap: 15px;
}

.srk-section-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2271b1, #135e96);
    color: white;
    border-radius: 8px;
    font-size: 16px;
}

.srk-section-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: #787c82;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.srk-section-toggle:hover {
    background: #f0f0f1;
    color: #2271b1;
    transform: translateY(-1px);
}

.srk-section-toggle .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.srk-section.collapsed .srk-section-toggle .dashicons {
    transform: rotate(-90deg);
}

/* Section Content */
.srk-section-content {
    padding: 30px;
}

/* Premium Badge */
.srk-premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ffd700, #ffcc00);
    color: #7a6a00;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Toggle Switch (Modern Design) */
.srk-toggle-setting {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border: 2px solid #e8eaed;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.srk-toggle-setting:hover {
    border-color: #c5d9ed;
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.1);
}

.srk-toggle-content {
    flex: 1;
}

.srk-toggle-title {
    display: block;
    font-weight: 700;
    color: #1d2327;
    margin-bottom: 6px;
    font-size: 16px;
    letter-spacing: -0.2px;
}

.srk-toggle-description {
    display: block;
    font-size: 14px;
    color: #646970;
    line-height: 1.6;
    max-width: 800px;
}

/* Default Settings Mode */
.srk-default-mode-message {
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #edfaef, #e8f5e9);
    border: 2px solid #b7dfb9;
    border-radius: 10px;
    color: #2e7d32;
    font-size: 14px;
    line-height: 1.6;
    display: none;
    animation: fadeIn 0.5s ease;
}

.srk-default-mode-message.show {
    display: block;
}

.srk-default-mode-message strong {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #1b5e20;
    font-size: 15px;
}

.srk-default-mode-message strong:before {
    content: "✓";
    background: #4caf50;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.srk-robots-preview {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    border: 1px dashed #81c784;
}

.srk-robots-preview code {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #1b5e20;
    padding: 8px 12px;
    background: #f1f8e9;
    border-radius: 6px;
    display: inline-block;
}

/* Robots Meta Container (Custom Mode) */
.srk-robots-meta-container {
    margin-top: 20px;
    padding-top: 30px;
    border-top: 2px solid #e8eaed;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.srk-robots-label {
    margin-bottom: 25px;
    font-size: 15px;
    font-weight: 700;
    color: #1d2327;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f1;
}

.srk-robots-label::before {
    content: "🤖";
    font-size: 20px;
    background: linear-gradient(135deg, #6c757d, #495057);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Robots Checkboxes Grid */
.srk-robots-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.srk-robots-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 2px solid #e8eaed;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #1d2327;
    user-select: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.srk-robots-checkbox:hover {
    border-color: #2271b1;
    background: #f0f6fc;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 113, 177, 0.1);
}

.srk-robots-checkbox:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #2271b1, #135e96);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.srk-robots-checkbox:hover:before {
    opacity: 1;
}

.srk-robots-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
    border-radius: 4px;
    border: 2px solid #c8c9cc;
    transition: all 0.2s ease;
}

.srk-robots-checkbox input[type="checkbox"]:checked {
    background: #2271b1;
    border-color: #2271b1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px;
}

.srk-robots-checkbox span {
    line-height: 1.4;
    font-weight: 500;
    flex: 1;
}

.srk-robots-checkbox input[type="checkbox"]:checked+span {
    color: #2271b1;
    font-weight: 600;
}

/* Robots Preview Fields */
.srk-robots-preview-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa, #f0f6fc);
    border-radius: 12px;
    border: 2px solid #e8eaed;
}

.srk-preview-field {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.srk-preview-field label {
    font-size: 14px;
    font-weight: 700;
    color: #1d2327;
    display: flex;
    align-items: center;
    gap: 10px;
}

.srk-preview-field label .dashicons {
    color: #2271b1;
    font-size: 18px;
}

.srk-field-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 8px;
    color: #1565c0;
    font-size: 16px;
}

.srk-preview-field input[type="number"] {
    width: 120px;
    padding: 12px 16px;
    border: 2px solid #dcdcde;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #fff;
}

.srk-preview-field input[type="number"]:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.2);
    outline: none;
    transform: translateY(-1px);
}

.srk-preview-field input[type="number"]::placeholder {
    color: #a0a0a0;
}

.srk-preview-field .srk-select {
    padding: 12px 16px;
    border: 2px solid #dcdcde;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    background: #fff;
    cursor: pointer;
    min-width: 180px;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23555' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 40px;
}

.srk-preview-field .srk-select:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.2);
    outline: none;
    transform: translateY(-1px);
}

.srk-field-description {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

/* Paged Format Builder */
.srk-paged-format-builder {
    background: linear-gradient(135deg, #f8f9fa, #f0f6fc);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #e8eaed;
}

.srk-format-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.srk-format-tag-btn {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    border: 2px solid #dcdcde;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #2271b1;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.srk-format-tag-btn:hover {
    background: linear-gradient(135deg, #2271b1, #135e96);
    border-color: #2271b1;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 113, 177, 0.2);
}

.srk-format-tag-btn:before {
    content: '+';
    font-size: 16px;
    font-weight: bold;
}

.srk-format-dropdowns {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.srk-format-select {
    padding: 12px 16px;
    border: 2px solid #dcdcde;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    background: #fff;
    cursor: pointer;
    min-width: 180px;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23555' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 40px;
}

.srk-format-select:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.2);
    outline: none;
}

.srk-format-preview {
    margin-top: 25px;
}

.srk-format-input {
    width: 100%;
    max-width: 600px;
    padding: 14px 18px;
    border: 2px solid #dcdcde;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', 'Roboto', sans-serif;
}

.srk-format-input:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.2);
    outline: none;
    transform: translateY(-1px);
}

.srk-format-preview-text {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #646970;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dcdcde;
}

.srk-format-preview-text strong {
    color: #1d2327;
    font-weight: 700;
    min-width: 80px;
}

#srk-paged-format-preview {
    color: #2271b1;
    font-weight: 600;
    background: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    border: 2px solid #e3f2fd;
    flex: 1;
    font-family: 'Courier New', monospace;
}

/* Submit Section */
.srk-submit-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #e8eaed;
    text-align: right;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.srk-submit-section .srk-status-message {
    order: 3;
    flex: 0 0 100%;
    margin-top: 12px;
    text-align: left;
}

.srk-submit-section .button-primary {
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 700;
    height: auto;
    border-radius: 10px;
    background: linear-gradient(135deg, #0b1d51, #1e3a8a);
    border: none;
    border-radius: 6px;
    ;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.srk-submit-section .button-primary:hover {
    background: #F28500;
    transform: translateY(-2px);
}

.srk-submit-section .button-primary:active {
    transform: translateY(0);
    box-shadow: linear-gradient(135deg, #0b1d51, #1e3a8a);
}

.srk-reset-button {
    padding: 12px 24px;
    background: #dc3545;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.srk-reset-button:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-1px);
}

.srk-reset-global-button,
.srk-reset-archives-button,
.srk-reset-content-types-button,
.srk-reset-taxonomies {
    background-color: #dc3545 !important;
    border: none !important;
    padding: 5px 15px !important;
    color: white !important;
    border-radius: 6px !important;
}

/* Segmented Toggle (Modern) */
.srk-segmented-toggle {
    display: inline-flex;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 6px;
    gap: 6px;
    border: 2px solid #e8eaed;
}

.srk-segmented-toggle input[type="radio"] {
    display: none;
}

.srk-segmented-btn {
    padding: 12px 30px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    min-width: 100px;
    position: relative;
    overflow: hidden;
}

.srk-segmented-btn:hover {
    background: rgba(34, 113, 177, 0.1);
    color: #2271b1;
}

.srk-segmented-btn.active {
    background: linear-gradient(135deg, #2271b1, #135e96);
    color: white;
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3);
}

.srk-segmented-btn.active:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0 0 4px 4px;
}

/* Tooltip */
.srk-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    width: 20px;
    height: 20px;
}

.srk-tooltip .dashicons {
    color: #666;
    font-size: 16px;
    cursor: help;
    transition: color 0.2s ease;
}

.srk-tooltip:hover .dashicons {
    color: #2271b1;
}

.srk-tooltip-text {
    visibility: hidden;
    width: 280px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    text-align: left;
    padding: 15px;
    border-radius: 10px;
    position: absolute;
    z-index: 1000;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    font-size: 13px;
    line-height: 1.6;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.srk-tooltip-text:before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: #2c3e50 transparent transparent transparent;
}

.srk-tooltip:hover .srk-tooltip-text {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .srk-robots-checkboxes {
        grid-template-columns: repeat(2, 1fr);
    }

    .srk-robots-preview-fields {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .srk-advanced-settings {
        padding: 20px;
        margin: 10px;
    }

    .srk-robots-checkboxes {
        grid-template-columns: 1fr;
    }

    .srk-section-header {
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .srk-section-title {
        width: 100%;
        justify-content: space-between;
    }

    .srk-section-content {
        padding: 20px;
    }

    .srk-format-dropdowns {
        flex-direction: column;
        gap: 15px;
    }

    .srk-submit-section {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .srk-submit-section .button-primary {
        width: 100%;
    }
}

/* Loading Animation */
.srk-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2271b1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Archives Settings Styles */
.srk-archives-settings {
    max-width: 1200px;
    margin: 20px 0;
}

.srk-archives-container {
    margin-top: 20px;
}

.srk-archive-card {
    background: #fff;
    margin-bottom: 20px;
    overflow: hidden;
}

.srk-archive-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    border: none !important;
}

.srk-archive-title-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.srk-archive-title-wrapper .dashicons {
    font-size: 20px;
    color: #2271b1;
}

.srk-archive-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.srk-section-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: #646970;
}

.srk-archive-tabs {
    display: flex;
    border-bottom: 1px solid #ccd0d4;
}

.srk-tab-button {
    padding: 12px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 14px;
    color: #646970;
    transition: all 0.2s;
}

.srk-tab-button:hover {
    color: #2271b1;
    background: #fff;
}

.srk-tab-button.active {
    color: #2271b1;
    border-bottom-color: #2271b1;
    background: #fff;
    font-weight: 600;
}

.srk-tab-content {
    padding: 20px;
}

.srk-field-group {
    margin-bottom: 25px;
}

.srk-field-group label {
    display: block;
    margin-bottom: 8px;
}

.srk-field-instruction {
    color: #646970;
    font-size: 13px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.srk-segmented-toggle {
    display: inline-flex;
    background: #f0f0f1;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.srk-segmented-btn {
    padding: 8px 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 13px;
    color: #646970;
    transition: all 0.2s;
}

.srk-segmented-btn.active {
    background: #fff;
    color: #2271b1;
    font-weight: 600;
    box-shadow: 0 0 0 1px #c3c4c7;
}

.srk-segmented-toggle input[type="radio"] {
    display: none;
}

.srk-field-description {
    color: #646970;
    font-size: 13px;
    margin-top: 5px;
    margin-bottom: 0;
}

.srk-preview-section {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #dcdcde;
}

.srk-google-preview-box {
    margin-top: 10px;
}

.srk-google-preview {
    font-family: arial, sans-serif;
    max-width: 600px;
}

.srk-preview-url {
    color: #202124;
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 3px;
}

.srk-preview-title {
    color: #1a0dab;
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 3px;
    font-weight: normal;
    text-decoration: none;
}

.srk-preview-description {
    color: #4d5156;
    font-size: 14px;
    line-height: 1.58;
}

.srk-relevant-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.srk-tag-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #f0f0f1;
    border: 1px solid #c3c4c7;
    border-radius: 3px;
    color: #2c3338;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.srk-tag-btn:hover {
    background: #e0e0e0;
    border-color: #8c8f94;
}

.srk-tag-icon {
    font-weight: bold;
}

.srk-tag-input-container {
    margin-top: 10px;
}

.srk-title-input,
.srk-desc-input {
    width: 100%;
    max-width: 600px;
}

.srk-robots-default-toggle {
    margin-bottom: 20px;
}

.srk-robots-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin: 15px 0;
}

.srk-robots-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.srk-robots-checkbox input[type="checkbox"] {
    margin: 0;
}

.srk-robots-advanced {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #dcdcde;
}

.srk-advanced-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.srk-advanced-col {
    display: flex;
    flex-direction: column;
}

.srk-advanced-col label {
    margin-bottom: 8px;
}

.srk-advanced-col select {
    width: 100%;
}

.srk-submit-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ccd0d4;
}

/* Collapsed state */
.srk-archive-card.collapsed .srk-section-toggle .dashicons {
    transform: rotate(180deg);
}

.srk-archive-card.collapsed .srk-tab-content {
    display: none;
}

/* Responsive */
@media (max-width: 782px) {
    .srk-advanced-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .srk-robots-checkboxes {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* View All Tags Modal Styles */
.srk-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.srk-modal-content {
    background: #fff;
    border-radius: 4px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.srk-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #ccd0d4;
}

.srk-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.srk-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #646970;
    line-height: 1;
}

.srk-modal-close:hover {
    color: #2271b1;
}

.srk-modal-body {
    padding: 20px;
}

.srk-modal-tabs {
    display: flex;
    border-bottom: 1px solid #ccd0d4;
    margin-bottom: 20px;
}

.srk-modal-tab {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 14px;
    color: #646970;
    transition: all 0.2s;
}

.srk-modal-tab:hover {
    color: #2271b1;
}

.srk-modal-tab.active {
    color: #2271b1;
    border-bottom-color: #2271b1;
    font-weight: 600;
}

.srk-tags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
}

.srk-tag-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border: 1px solid #dcdcde;
    border-radius: 4px;
}

.srk-tag-item code {
    background: #fff;
    padding: 4px 8px;
    border-radius: 3px;
    border: 1px solid #c3c4c7;
    font-family: monospace;
    font-size: 12px;
    color: #d63638;
}

.srk-tag-item span {
    font-size: 13px;
    color: #2c3338;
}

/* View All Tags Link */
.srk-view-all-tags {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #2271b1;
    text-decoration: none;
    font-size: 13px;
    padding: 4px 8px;
}

.srk-view-all-tags:hover {
    text-decoration: underline;
}

.srk-view-all-tags .dashicons {
    font-size: 16px;
}

/* No ODP Checkbox */
.srk-robots-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin: 15px 0;
}

.srk-robots-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.srk-robots-checkbox input[type="checkbox"] {
    margin: 0;
}

/* Select dropdown styling */
.srk-advanced-col select {
    width: 100%;
    padding: 8px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
}

.srk-advanced-col select:disabled {
    background: #f0f0f1;
    color: #8c8f94;
    cursor: not-allowed;
}

/* Advanced section */
.srk-robots-advanced {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #dcdcde;
}

.srk-advanced-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.srk-advanced-col {
    display: flex;
    flex-direction: column;
}

.srk-advanced-col label {
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 782px) {
    .srk-advanced-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .srk-robots-checkboxes {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .srk-tags-grid {
        grid-template-columns: 1fr;
    }
}

.srk-tags-search-wrapper {
    margin-bottom: 15px;
}

.srk-tags-search {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    font-size: 14px;
}

.srk-tags-search:focus {
    border-color: #2271b1;
    outline: none;
}

/* ============================================
   ENHANCED ARCHIVES DESIGN
   ============================================ */
.srk-toggle-section {
    background: #f8f9fa;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.srk-section-label {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.srk-section-label .dashicons {
    margin-right: 8px;
    color: #2271b1;
}

.srk-section-label strong {
    font-size: 15px;
    color: #1d2327;
}

/* Checkbox Grid */
.srk-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.srk-checkbox-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.srk-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 12px;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    background: white;
    transition: all 0.2s ease;
}

.srk-checkbox-label:hover {
    border-color: #2271b1;
    box-shadow: 0 2px 4px rgba(34, 113, 177, 0.1);
}

.srk-checkbox-label input[type="checkbox"]:disabled~* {
    opacity: 0.5;
    cursor: not-allowed;
}

.srk-checkbox-custom {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
    border: 2px solid #8c8f94;
    border-radius: 4px;
    background: white;
    transition: all 0.2s ease;
}

.srk-checkbox-label input[type="checkbox"]:checked+.srk-checkbox-custom {
    background-color: #2271b1;
    border-color: #2271b1;
}

.srk-checkbox-label input[type="checkbox"]:checked+.srk-checkbox-custom::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.srk-checkbox-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.srk-checkbox-text strong {
    font-size: 14px;
    color: #1d2327;
    margin-bottom: 4px;
}

.srk-checkbox-text span {
    font-size: 12px;
    color: #646970;
    line-height: 1.4;
}

/* Settings Grid */
.srk-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.srk-setting-item {
    background: white;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    padding: 16px;
}

.srk-setting-item label {
    display: block;
    font-weight: 600;
    color: #1d2327;
    margin-bottom: 8px;
    font-size: 13px;
}

.srk-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    background: white;
    font-size: 13px;
    color: #2c3338;
    transition: border-color 0.2s ease;
}

.srk-select:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: none;
}

.srk-select:disabled {
    background-color: #f0f0f1;
    border-color: #dcdcde;
    color: #8c8f94;
    cursor: not-allowed;
}

.srk-setting-description {
    font-size: 12px;
    color: #646970;
    margin-top: 8px;
    margin-bottom: 0;
    line-height: 1.4;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.srk-advanced-settings:not(.hidden) {
    animation: fadeIn 0.3s ease forwards;
}

.srk-advanced-settings.hidden {
    animation: fadeOut 0.3s ease forwards;
}

/* Hover effects */
.srk-setting-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.srk-checkbox-label:hover {
    transform: translateX(4px);
}

/* ==============================
   SRK MAIN TABS — RANK MATH STYLE
   (Safe override – only tabs)
============================== */

.srk-meta-manager .nav-tab-wrapper {
    border-bottom: 1px solid #e1e5ea;
    padding-left: 10px;
    margin-top: 20px;
    background: #f8f9fb;
    border-radius: 6px 6px 0 0;
}

.srk-meta-manager .nav-tab {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    box-shadow: none;
    margin-right: 5px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: bold;
    color: #0B1D51;
    transition: all 0.25s ease;
}

.srk-meta-manager .nav-tab:hover {
    color: #0B1D51;
    border-bottom: 3px solid #0B1D51;
}

.srk-meta-manager .nav-tab-active {
    background: #ffffff;
    color: #0B1D51;
    border-bottom: 3px solid #F28500;
    font-weight: 600;
    border-radius: 4px 4px 0 0;
}

/* Remove WordPress default tab shadow */
.srk-meta-manager .nav-tab:focus,
.srk-meta-manager .nav-tab:active {
    box-shadow: none;
    outline: none;
}

/* Field guide messages */
.srk-field-guide {
    background: #f0f6fc;
    border-left: 4px solid #2271b1;
    padding: 8px 12px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 3px;
}

.srk-field-guide .dashicons {
    color: #2271b1;
}

/* Character counter improvements */
.srk-counter {
    margin-top: 5px;
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.srk-counter-recommended {
    color: #999;
    font-style: italic;
}

.srk-status {
    margin-left: 5px;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 500;
}

.srk-status.good {
    background: #ecf7ed;
    color: #46b450;
}

.srk-status.warning {
    background: #fef8ee;
    color: #f56e28;
}

.srk-status.error {
    background: #fbeaea;
    color: #dc3232;
}

/* Tag buttons styling */
.srk-tag-buttons {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}

.srk-tag-btn {
    background: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 11px;
    padding: 2px 8px;
    cursor: pointer;
}

.srk-tag-btn:hover {
    background: #e5e5e5;
    border-color: #999;
}

.srk-view-all-tags {
    color: #2271b1;
    text-decoration: none;
    font-size: 12px;
    margin-left: 5px;
}

.srk-view-all-tags:hover {
    
    text-decoration: underline;
}

/* Knowledge Graph Notice Styling */
.srk-knowledge-graph-notice {
    background: #f0f6fc;
    border-left: 4px solid #F28500 !important;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.srk-knowledge-graph-notice:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.srk-knowledge-graph-notice .button-primary {
    background: #0B1D51;
    border-color: #0B1D51;
    color: #fff;
    text-decoration: none;
    text-shadow: none;
    padding: 6px 16px;
    height: auto;
    line-height: 1.8;
    font-weight: 500;
}

.srk-knowledge-graph-notice .button-primary:hover {
    background: #F28500;
    border-color: #F28500;
}

.srk-knowledge-graph-notice .button-primary .dashicons {
    margin-top: 2px;
}

.srk-knowledge-graph-notice ul {
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
}

.srk-knowledge-graph-notice li {
    margin-bottom: 6px;
    color: #50575e;
    font-size: 13px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .srk-knowledge-graph-notice>div {
        flex-direction: column;
    }

    .srk-knowledge-graph-notice>div>div {
        width: 100%;
    }
}


/* ============================================
   UNIFIED SRK TOGGLE SWITCH (FINAL VERSION)
   ============================================ */

.srk-toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 26px;
}

.srk-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.srk-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #d1d5db;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.srk-toggle-slider:before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* ON State */
.srk-toggle-switch input:checked+.srk-toggle-slider {
    background: linear-gradient(135deg, #0b1d51, #1e3a8a);
}

.srk-toggle-switch input:checked+.srk-toggle-slider:before {
    transform: translateX(26px);
}

/* Focus */
.srk-toggle-switch input:focus+.srk-toggle-slider {
    box-shadow: 0 0 0 3px rgba(11, 29, 81, 0.2);
}

.srk-default-active {
    background: #f0f6fc;
    border-left: 3px solid #2271b1;
    padding: 8px 12px;
    border-radius: 0 4px 4px 0;
}

/* Highlight important messages consistent with SEO Repair Kit colors */
.srk-field-example.srk-important {
    background-color: #e7f3ff;
    /* light blue background */
    border-left: 4px solid #0B1D51;
    /* primary dark blue left border */
    padding: 12px 16px;
    margin: 12px 0;
    border-radius: 4px;
}

.srk-field-example.srk-important .srk-example-desc {
    font-weight: 500;
    color: #0B1D51;
    /* primary dark blue text */
    font-size: 14px;
    line-height: 1.5;
}

.srk-example-preview {
    color: #1565c0 !important;
    font-size: 16px !important;
    font-weight: bold !important;
}

.srk-example-label {
    font-size: 16px !important;
    color: #4e5155 !important;
    word-spacing: 1px;
}

.srk-divider {
    margin: 15px 0;
    border-top: 1px solid #ddd;
}

/* Tag Item Container */
.srk-modal-tag-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
    padding: 12px 16px;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    background: #f8f8f8;
    cursor: pointer;
}

/* Plus Icon */
.srk-tag-icon {
    background: #2f6fed;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
    height: 20px !important;
    width: 25px !important;
}

/* Right Side Content */
.srk-tag-info {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

/* Title */
.srk-tag-info strong {
    font-size: 14px;
    color: #222;
}

/* Tag Code */
.srk-tag-code {
    font-size: 13px;
    color: #555;
}

/* Description */
.srk-tag-description {
    font-size: 12px;
    color: #777;
}

/* Accordion header layout */
.srk-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

/* icon style */
.srk-accordion-icon {
    font-size: 18px;
    color: #646970;
    transition: transform .25s ease;
}

/* rotate when open */
.srk-accordion-open .srk-accordion-icon {
    transform: rotate(90deg);
    color: #2271b1;
}

/* accordion header */
.srk-post-type-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 16px 20px;
}

/* remove default margin */
.srk-post-type-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

/* accordion icon */
.srk-accordion-icon {
    font-size: 18px;
    color: #646970;
    transition: transform .25s ease;
}

/* rotate when open */
.srk-accordion-open .srk-accordion-icon {
    transform: rotate(90deg);
    color: #2271b1;
}

/* taxonomy accordion header */
.srk-taxonomy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 16px 20px;
}

/* remove margin */
.srk-taxonomy-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

/* accordion icon */
.srk-accordion-icon {
    font-size: 18px;
    color: #646970;
    transition: transform .25s ease;
}

/* rotate when open */
.srk-accordion-open .srk-accordion-icon {
    transform: rotate(90deg);
    color: #2271b1;
}

.srk-archive-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 16px 20px;
}

.srk-accordion-icon {
    font-size: 18px;
    color: #646970;
    transition: transform .25s ease;
}

.srk-accordion-open .srk-accordion-icon {
    transform: rotate(90deg);
    color: #2271b1;
}

.srk-section-toggle .dashicons {
    transition: transform .25s ease;
}

.srk-section.collapsed .srk-section-toggle .dashicons {
    transform: rotate(-90deg);
}

/* change */

/* Character counter styles for Gutenberg */
.srk-tag-input-visual-wrapper {
    position: relative;
}

.srk-counter-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 12px;
}

.srk-counter-status.good {
    color: #00a32a;
}

.srk-counter-status.warning {
    color: #dba617;
}

.srk-counter-status.error {
    color: #d63638;
}
