.ccodr-settings-form{
width:100%; max-width:900px;
}
.ccodr-admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    padding: 12px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.ccodr-header-left {
    font-size: 14px;
    color: #555;
}

.ccodr-plan-value {
    color: #0073aa;
    font-weight: 600;
    margin-left: 5px;
}

.ccodr-header-center {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ccodr-header-icon {
    width: 50px;
    height: 40px;
}

.ccodr-header-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 20px;
    margin: 0;
    font-weight: bold;
    color: #23282d;
    font-style: italic;
}

.ccodr-header-right .ccodr-upgrade-btn {
    background: #d30000;
    color: #fff;
    padding: 8px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.2s;
    
}

.ccodr-header-right .ccodr-upgrade-btn:hover {
    background: #005c8f;
}

.ccodr-pro-badge {
    color: #28a745;
    font-weight: 600;
}



/* Body wrapper */
.ccodr-admin-body {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    text-align: center;
    font-family: "Inter", "Segoe UI", Roboto, sans-serif;
    min-height: 60vh;
}

/* Notice-style status bar */
.ccodr-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-style: italic;
    font-weight: 500;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    padding: 16px 20px;
    color: white;
}
.ccodr-button{
  text-align:center; margin-top:20px;
}
/* Enabled style */
.ccodr-status-bar.enabled {
    background-color: #0ca678; 
}

/* Disabled style */
.ccodr-status-bar.disabled {
  background-color: #f44336; 
}

/* Button inside the bar */
.ccodr-status-btn {
    text-decoration: none;
    background: #007cba;
    color: #fff;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.ccodr-status-btn:hover {
    background: #005fa3;
    color: #fff;
}

.ccodr-card {
    background:#fff;
    border:1px solid #eaeaea;
    border-radius:10px;
    padding:18px;
    margin-bottom:20px;
    width:100%;
}


.ccodr-field { display:flex; align-items:center; gap:10px; margin-bottom:12px; text-align:left; }
.ccodr-field .ccodr-label { display:block; margin-bottom:6px; font-weight:600; }
.ccodr-tooltip { margin-left:6px; color:#888; cursor:help; }
.ccodr-multiselect { width:100%; max-width:100%; }
.ccodr-pro-card { position:relative; border:1px dashed #e3e6ea; background:#fbfbfb; }
.ccodr-pro-badge { position:absolute; top:-10px; right:-10px; background:#ffcd00; padding:6px 10px; border-radius:6px; font-weight:700; }
.ccodr-progress-bar { background:#f1f5f9; height:10px; border-radius:6px; overflow:hidden; margin:10px 0; }
.ccodr-progress-fill { background:#0ca678; height:100%; width:0%; transition:width .3s ease; }
.ccodr-description {
  display: block;
  margin-top: 2px;
  clear: both;
  font-weight: 600;
  font-style: italic;
}

/* Blur + disable interaction for locked users */
.ccodr-pro-locked .ccodr-pro-content {
  pointer-events: none;
}

/* Overlay upgrade button */
.ccodr-pro-locked .ccodr-pro-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(214, 214, 214, 0.603);
  backdrop-filter: blur(1.5px);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show overlay only when hovering over the parent */
.ccodr-pro-locked:hover .ccodr-pro-overlay {
  opacity: 1;
  visibility: visible;
}

.ccodr-pro-active .ccodr-pro-overlay {
  display: none;
}
/* Upgrade button styling */
.ccodr-upgrade-btn {
  background: #0073aa;
  color: #fff;
  border: none;
  text-decoration: none;
  border-radius: 6px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.ccodr-upgrade-btn:hover {
  background: #006799;
  color:#fff;
}

.ccodr-admin-notice {
  margin-bottom: 20px;
  border-radius: 6px;
}


.ccodr-shortcode-info {
  margin: 15px 0;
  padding: 10px 14px;
  background: #f8f9fa;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.ccodr-shortcode-info code {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 2px 6px;
  font-family: monospace;
  font-size: 13px;
  text-align: center;
}

.ccodr-admin-footer {
  text-align: center;
  margin-top: 40px;
  padding: 15px 0;
  border-top: 1px solid #e1e4e8;
  font-size: 13px;
  color: #777;
  background: #f9f9f9;
}

.ccodr-admin-footer p {
  margin: 0;
  font-style: italic;
}

/* Make the small cross (x) black in Chosen multi-select choices */
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
    background: none !important;
    position: absolute;
    top: 4px;
    right: 5px;
    width: 12px;
    height: 12px;
    color: #000 !important;
    font-weight: bold;
    line-height: 12px;
    text-align: center;
    cursor: pointer;
}
.ccodr-link{
  text-decoration:none; font-weight:500;
}

.chosen-container-multi .chosen-choices li.search-choice .search-choice-close::after {
    content: "×";
    color: #000;
    font-size: 14px;
}
