.bccpt-wrap {
    max-width: 1200px;
}
.bccpt-columns-container {
    margin-top: 20px;
}
.bccpt-layout-container {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    align-items: flex-start;
}
.bccpt-sidebar {
    width: 250px;
    flex-shrink: 0;
}
.bccpt-main-content {
    flex-grow: 1;
}
.bccpt-sidebar-group {
    margin-bottom: 20px;
}
.bccpt-sidebar-title {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin: 0 0 10px 0;
    cursor: pointer;
    color: #1d2327;
    user-select: none;
}
.bccpt-sidebar-title .dashicons {
    color: #8c8f94;
    margin-right: 8px;
}
.bccpt-sidebar-title .toggle-icon {
    margin-left: auto;
    margin-right: 0;
    transition: transform 0.2s;
}
.bccpt-sidebar-title.collapsed .toggle-icon {
    transform: rotate(180deg);
}
.bccpt-sidebar-list {
    margin: 0 0 0 28px;
    padding: 0;
}
.bccpt-sidebar-list li {
    margin-bottom: 5px;
}
.bccpt-sidebar-list a {
    display: block;
    padding: 6px 10px;
    text-decoration: none;
    color: #50575e;
    border-radius: 4px;
    border: 1px solid transparent;
}
.bccpt-sidebar-list a:hover {
    color: #2271b1;
    background: #f6f7f7;
}
.bccpt-sidebar-list a.active {
    color: #d63638;
    background: #f6f7f7;
    border-color: #2271b1;
    font-weight: 500;
}
.bccpt-columns-card {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.bccpt-column-list-wrapper {
    margin: 0;
    padding: 0;
}
.bccpt-empty-state {
    padding: 20px;
    text-align: center;
    color: #646970;
}
.bccpt-column-row {
    border-bottom: 1px solid #dcdcde;
    margin: 0;
}
.bccpt-column-row:last-child {
    border-bottom: none;
}
.bccpt-row-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #fff;
    transition: background 0.2s;
    cursor: pointer;
}
.bccpt-column-row:hover .bccpt-row-header {
    background: #fcfcfc;
}
.bccpt-column-row.ui-sortable-helper .bccpt-row-header {
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 1px solid #dcdcde;
}
.bccpt-row-header .col-drag {
    cursor: grab;
    color: #8c8f94;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
}
.bccpt-row-header .col-drag .dashicons {
    display: none;
}
.bccpt-row-header .col-drag::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 12px;
    background-image: radial-gradient(circle at 1px 1px, #8c8f94 1.5px, transparent 1.5px);
    background-size: 4px 4px;
    background-position: 0 0;
}
.bccpt-row-header .col-drag:active {
    cursor: grabbing;
}
.bccpt-row-header .col-label {
    flex: 1 1 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.bccpt-row-header .col-label strong {
    font-size: 14px;
    font-weight: 500;
}
.bccpt-row-header .col-label strong a {
    color: #2271b1;
    text-decoration: none;
}
.bccpt-row-header .col-label strong a:hover {
    text-decoration: underline;
}
.bccpt-row-header .row-actions {
    visibility: hidden;
    font-size: 13px;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    opacity: 1;
    white-space: nowrap;
    z-index: 10;
    line-height: 1;
}
.bccpt-column-row:hover .bccpt-row-header .row-actions {
    visibility: visible;
}

/* Settings Form Layout */
.bccpt-settings-form {
    padding: 10px 0;
    border-top: 1px solid #dcdcde;
    background: #f9f9f9;
}
.bccpt-setting-row {
    display: flex;
    padding: 12px 20px;
    align-items: center;
}
.bccpt-setting-divider {
    height: 1px;
    background: #e2e4e7;
    margin: 0;
}
.bccpt-setting-label {
    flex: 0 0 30%;
    font-weight: 500;
    color: #3c434a;
    display: flex;
    align-items: center;
}
.bccpt-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #3c434a;
    color: #fff;
    font-size: 10px;
    margin-left: 8px;
    font-weight: bold;
    cursor: help;
}
.bccpt-setting-field {
    flex: 1;
}
.bccpt-setting-field input[type="text"] {
    width: 100%;
    max-width: 400px;
    border-radius: 4px;
    border: 1px solid #8c8f94;
    padding: 4px 8px;
}
.bccpt-setting-field .description {
    color: #8c8f94;
    font-size: 12px;
    margin: 5px 0 0 0;
}

/* Width Field */
.bccpt-width-field {
    display: flex;
    align-items: center;
    gap: 15px;
}
.bccpt-width-inputs {
    display: flex;
    align-items: center;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    overflow: hidden;
    width: 130px;
    background: #fff;
}
.bccpt-width-inputs input {
    border: none !important;
    width: 70px !important;
    padding: 4px 8px !important;
    box-shadow: none !important;
    outline: none !important;
}
.bccpt-width-unit {
    background: #f0f0f1;
    padding: 4px 8px;
    border-left: 1px solid #8c8f94;
    flex: 1;
    text-align: center;
    font-weight: 500;
    border: none !important;
    box-shadow: none !important;
    margin: 0;
    appearance: none;
    outline: none !important;
}
.bccpt-width-slider {
    flex: 1;
    max-width: 250px;
}

/* Toggle Switch */
.bccpt-toggle {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    margin: 0;
}
.bccpt-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.bccpt-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #dcdcde;
    transition: .2s;
    border-radius: 24px;
}
.bccpt-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .2s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #3582c4;
    font-weight: bold;
}
.bccpt-toggle input:checked + .bccpt-toggle-slider {
    background-color: #3582c4;
}
.bccpt-toggle input:checked + .bccpt-toggle-slider:before {
    transform: translateX(18px);
    content: "\2713"; /* Checkmark */
}
.bccpt-row-header .row-actions a {
    text-decoration: none;
}
.bccpt-row-header .row-actions .edit-col {
    color: #2271b1;
    margin-right: 8px;
}
.bccpt-row-header .row-actions .edit-col:hover {
    text-decoration: underline;
}
.bccpt-row-header .row-actions .delete-col {
    color: #d63638;
}
.bccpt-row-header .row-actions .delete-col:hover {
    text-decoration: underline;
}
.bccpt-row-header .col-key {
    flex: 1 1 30%;
    text-align: right;
    padding-right: 30px;
}
.bccpt-row-header .column-key-text {
    font-size: 11px;
    color: #8c8f94;
    text-transform: uppercase;
    font-weight: 600;
}
.bccpt-row-header .col-icons {
    display: flex;
    align-items: center;
    gap: 5px;
}
.bccpt-row-header .icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8c8f94;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border: 1px solid #dcdcde;
    border-radius: 3px;
    background: #fff;
    transition: all 0.2s;
}
.bccpt-row-header .icon-btn:hover {
    color: #2271b1;
    background: #f0f0f1;
}
.bccpt-row-header .icon-btn.active {
    color: #2271b1;
    background: #f0f6fc;
    border-color: #2271b1;
}
.bccpt-row-header .toggle-settings {
    border: none;
    background: transparent;
    width: 24px;
    color: #2c3338;
}
.bccpt-row-header .toggle-settings:hover {
    background: transparent;
    color: #2271b1;
}

.bccpt-setting-divider {
    height: 1px;
    background: #e2e4e7;
    margin: 0;
}
.bccpt-setting-label {
    flex: 0 0 30%;
    font-weight: 500;
    color: #3c434a;
    display: flex;
    align-items: center;
}
.bccpt-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #3c434a;
    color: #fff;
    font-size: 10px;
    margin-left: 8px;
    font-weight: bold;
    cursor: help;
}
.bccpt-setting-field {
    flex: 1;
}
.bccpt-setting-field input[type="text"] {
    width: 100%;
    max-width: 400px;
    border-radius: 4px;
    border: 1px solid #8c8f94;
    padding: 4px 8px;
}
.bccpt-setting-field .description {
    color: #8c8f94;
    font-size: 12px;
    margin: 5px 0 0 0;
}

/* Width Field */
.bccpt-width-field {
    display: flex;
    align-items: center;
    gap: 15px;
}
.bccpt-width-inputs {
    display: flex;
    align-items: center;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    overflow: hidden;
    width: 130px;
    background: #fff;
}
.bccpt-width-inputs input {
    border: none !important;
    width: 70px !important;
    padding: 4px 8px !important;
    box-shadow: none !important;
    outline: none !important;
}
.bccpt-width-unit {
    background: #f0f0f1;
    padding: 4px 8px;
    border-left: 1px solid #8c8f94;
    flex: 1;
    text-align: center;
    font-weight: 500;
    border: none !important;
    box-shadow: none !important;
    margin: 0;
    appearance: none;
    outline: none !important;
}
.bccpt-width-slider {
    flex: 1;
    max-width: 250px;
}

/* Toggle Switch */
.bccpt-toggle {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    margin: 0;
}
.bccpt-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.bccpt-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #dcdcde;
    transition: .2s;
    border-radius: 24px;
}
.bccpt-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .2s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #3582c4;
    font-weight: bold;
}
.bccpt-toggle input:checked + .bccpt-toggle-slider {
    background-color: #3582c4;
}
.bccpt-toggle input:checked + .bccpt-toggle-slider:before {
    transform: translateX(18px);
    content: "\2713"; /* Checkmark */
}
.bccpt-row-header .row-actions a {
    text-decoration: none;
}
.bccpt-row-header .row-actions .edit-col {
    color: #2271b1;
    margin-right: 8px;
}
.bccpt-row-header .row-actions .edit-col:hover {
    text-decoration: underline;
}
.bccpt-row-header .row-actions .delete-col {
    color: #d63638;
}
.bccpt-row-header .row-actions .delete-col:hover {
    text-decoration: underline;
}
.bccpt-row-header .col-key {
    flex: 1 1 30%;
    text-align: right;
    padding-right: 30px;
}
.bccpt-row-header .column-key-text {
    font-size: 11px;
    color: #8c8f94;
    text-transform: uppercase;
    font-weight: 600;
}
.bccpt-row-header .col-icons {
    display: flex;
    align-items: center;
    gap: 5px;
}
.bccpt-row-header .icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a7aaad;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border: 1px solid #e2e4e7;
    border-radius: 3px;
    background: #fff;
    transition: all 0.2s;
}
.bccpt-row-header .icon-btn:hover {
    color: #3c434a;
    border-color: #c3c4c7;
    background: #f6f7f7;
}
.bccpt-row-header .icon-btn.active {
    color: #3c434a;
    background: #fff;
    border-color: #c3c4c7;
}
.bccpt-row-header .toggle-settings {
    border: none;
    background: transparent;
    width: 24px;
    color: #2c3338;
}
.bccpt-row-header .toggle-settings:hover {
    background: transparent;
    color: #2271b1;
}
.bccpt-row-settings {
    border-top: 1px dashed #dcdcde;
    padding: 15px 20px;
    background: #f8f9f9;
}
.bccpt-row-settings .row-footer {
    margin-top: 15px;
    text-align: right;
}
.bccpt-row-settings input[readonly] {
    background: #f0f0f1;
    color: #50575e;
}
.bccpt-setting-label {
    flex: 0 0 30%;
    font-weight: 500;
    color: #3c434a;
    display: flex;
    align-items: center;
}
.bccpt-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #3c434a;
    color: #fff;
    font-size: 10px;
    margin-left: 8px;
    font-weight: bold;
    cursor: help;
}
.bccpt-setting-field {
    flex: 1;
}
.bccpt-setting-field input[type="text"] {
    width: 100%;
    max-width: 400px;
    border-radius: 4px;
    border: 1px solid #8c8f94;
    padding: 4px 8px;
}
.bccpt-setting-field .description {
    color: #8c8f94;
    font-size: 12px;
    margin: 5px 0 0 0;
}

/* Width Field */
.bccpt-width-field {
    display: flex;
    align-items: center;
    gap: 15px;
}
.bccpt-width-inputs {
    display: flex;
    align-items: center;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    overflow: hidden;
    width: 130px;
    background: #fff;
}
.bccpt-width-inputs input {
    border: none !important;
    width: 70px !important;
    padding: 4px 8px !important;
    box-shadow: none !important;
    outline: none !important;
}
.bccpt-width-unit {
    background: #f0f0f1;
    padding: 4px 8px;
    border-left: 1px solid #8c8f94;
    flex: 1;
    text-align: center;
    font-weight: 500;
    border: none !important;
    box-shadow: none !important;
    margin: 0;
    appearance: none;
    outline: none !important;
}
.bccpt-width-slider {
    flex: 1;
    max-width: 250px;
}

/* Toggle Switch */
.bccpt-toggle {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    margin: 0;
}
.bccpt-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.bccpt-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #dcdcde;
    transition: .2s;
    border-radius: 24px;
}
.bccpt-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .2s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #3582c4;
    font-weight: bold;
}
.bccpt-toggle input:checked + .bccpt-toggle-slider {
    background-color: #3582c4;
}
.bccpt-toggle input:checked + .bccpt-toggle-slider:before {
    transform: translateX(18px);
    content: "\2713"; /* Checkmark */
}
.bccpt-row-header .row-actions a {
    text-decoration: none;
}
.bccpt-row-header .row-actions .edit-col {
    color: #2271b1;
    margin-right: 8px;
}
.bccpt-row-header .row-actions .edit-col:hover {
    text-decoration: underline;
}
.bccpt-row-header .row-actions .delete-col {
    color: #d63638;
}
.bccpt-row-header .row-actions .delete-col:hover {
    text-decoration: underline;
}
.bccpt-row-header .col-key {
    flex: 1 1 30%;
    text-align: right;
    padding-right: 30px;
}
.bccpt-row-header .column-key-text {
    font-size: 11px;
    color: #8c8f94;
    text-transform: uppercase;
    font-weight: 600;
}
.bccpt-row-header .col-icons {
    display: flex;
    align-items: center;
    gap: 5px;
}
.bccpt-row-header .icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8c8f94;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border: 1px solid #dcdcde;
    border-radius: 3px;
    background: #fff;
    transition: all 0.2s;
}
.bccpt-row-header .icon-btn:hover {
    color: #2271b1;
    background: #f0f0f1;
}
.bccpt-row-header .icon-btn.active {
    color: #2271b1;
    background: #f0f6fc;
    border-color: #2271b1;
}
.bccpt-row-header .toggle-settings {
    border: none;
    background: transparent;
    width: 24px;
    color: #2c3338;
}
.bccpt-row-header .toggle-settings:hover {
    background: transparent;
    color: #2271b1;
}
.bccpt-row-settings {
    border-top: 1px dashed #dcdcde;
    padding: 15px 20px;
    background: #f8f9f9;
}
.bccpt-row-settings .row-footer {
    margin-top: 15px;
    text-align: right;
}
.bccpt-row-settings input[readonly] {
    background: #f0f0f1;
    color: #50575e;
}
.bccpt-columns-card .bccpt-card-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    border-top: 1px solid #dcdcde;
    border-radius: 0 0 6px 6px;
}
.bccpt-columns-card .footer-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}



/* Layout matching Admin Columns Pro */
.bccpt-custom-size-settings .bccpt-setting-row {
    display: block;
    margin-bottom: 15px;
}
.bccpt-custom-size-settings .bccpt-setting-label {
    width: 100%;
    margin-bottom: 5px;
}
.bccpt-custom-size-settings .bccpt-setting-field {
    width: 100%;
}
/* Layout matching Admin Columns Pro - Custom Sizes */
.bccpt-custom-size-settings {
    margin-top: 15px;
}
.bccpt-custom-size-field {
    margin-bottom: 12px;
}
.bccpt-custom-size-label {
    font-size: 13px;
    font-weight: 600;
    color: #3c434a;
    margin-bottom: 6px;
    display: block;
}
input.bccpt-custom-input {
    width: 250px;
    max-width: 100%;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    padding: 0 8px;
    height: 32px;
    line-height: 2;
    box-shadow: none;
}
input.bccpt-custom-input:focus {
    border-color: #356ce6;
    box-shadow: 0 0 0 1px #356ce6;
}

/* Toggle Switch layout with Help Icon */
.bccpt-toggle-field {
    display: flex;
    align-items: center;
    gap: 8px;
}
span.bccpt-help-icon.dashicons {
    color: #787c82;
    font-size: 16px;
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: help;
    background: transparent;
    line-height: 1;
    border: none;
}
span.bccpt-help-icon.dashicons:hover {
    color: #2271b1;
}

/* Checkmark inside Toggle */
.bccpt-toggle-check {
    position: absolute;
    top: 50%;
    left: 7px;
    transform: translateY(-50%);
    width: 10px;
    height: 8px;
    opacity: 0;
    transition: opacity 0.2s;
}
.bccpt-toggle-checkbox:checked + .bccpt-toggle-slider .bccpt-toggle-check {
    opacity: 1;
}

/* Change active color of toggle */
.bccpt-toggle-checkbox:checked + .bccpt-toggle-slider {
    background-color: #356ce6;
}
 
 
/* ACP Overrides */
.bccpt-row-header .col-drag::before { display: none !important; }
.bccpt-row-header .icon-btn { color: #a7aaad !important; width: 28px !important; height: 28px !important; border: 1px solid #e2e4e7 !important; background: transparent !important; }
.bccpt-row-header .icon-btn:hover { color: #3c434a !important; border-color: #c3c4c7 !important; background: #f6f7f7 !important; }
.bccpt-row-header .icon-btn.active { color: #3c434a !important; border-color: #c3c4c7 !important; background: #fff !important; }
.bccpt-row-header .col-drag { width: 10px !important; margin-right: 10px !important; }
.bccpt-row-header .toggle-settings { border: none !important; color: #3c434a !important; background: transparent !important; width: 24px !important; }


.bccpt-row-header { padding: 12px 15px !important; }
.bccpt-row-header .col-label { flex: 1 !important; }
.bccpt-row-header .col-label strong a { color: #356ce6 !important; font-weight: 600 !important; font-size: 14px !important; }
.bccpt-row-header .col-key { flex: 0 0 auto !important; margin-right: 20px !important; padding-right: 0 !important; }
.bccpt-row-header .toggle-settings { margin-left: 15px !important; width: 16px !important; }
.bccpt-row-header .icon-btn { border-radius: 4px !important; }

