.hypwa-hide{
    display: none !important;
}
.hypwa-app-wrapper {
    background-color: #f8fafc;
    min-height: calc(100vh - 32px);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
    position: relative;
    padding-bottom: 85px;
}
.hypwa-app-wrapper * { box-sizing: border-box; }

.hypwa-main-container { width: 100%; display: flex; flex-direction: column; }
.hypwa-top-header {
    height: 60px; background-color: #ffffff; border-bottom: 1px solid #e2e8f0;
    display: flex; align-items: center; justify-content: space-between; padding: 0 24px;
}
.hypwa-brand-inline { display: flex; align-items: center; gap: 10px; }
.hypwa-brand-logo {
    width: 28px; height: 28px; background-color: #2563eb; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
}
.hypwa-brand-logo .dashicons { color: #ffffff; font-size: 14px; width:14px; height:14px; }
.hypwa-brand-name { font-weight: 700; color: #0f172a; font-size: 15px; }
.hypwa-brand-version { font-size: 10px; color: #64748b; background: #e2e8f0; padding: 1px 5px; border-radius: 4px; }

.hypwa-header-actions { display: flex; align-items: center; gap: 20px; }
.hypwa-header-link { color: #64748b; text-decoration: none; font-size: 13px; display: flex; align-items: center; gap: 5px; font-weight: 500; }
.hypwa-header-link:hover { color: #2563eb; }
.hypwa-header-link .dashicons { font-size: 15px; }

.hypwa-page-body-grid { display: flex; padding: 24px; gap: 24px; max-width: 1300px; margin: 0 auto; }
.hypwa-settings-pane { width: 76%; max-width: 860px; } 
.hypwa-right-sidebar-pane { width: 24%; display: flex; flex-direction: column; gap: 16px; }

.hypwa-pane-title-row { margin-bottom: 24px; }
.hypwa-pane-title-row h2 { margin: 0; font-size: 20px; font-weight: 700; color:#0f172a; }
.hypwa-pane-title-row p { margin: 4px 0 0 0; color: #64748b; font-size: 12px; }

.hypwa-underline-tabs {
    display: flex; gap: 28px; border-bottom: 2px solid #e2e8f0; margin-bottom: 24px; padding-left: 4px;
}
.hypwa-tab-link {
    text-decoration: none; color: #64748b; font-size: 13px; font-weight: 600; padding-bottom: 12px;
    margin-bottom: -2px; border-bottom: 2px solid transparent; transition: all 0.2s ease;
}
.hypwa-tab-link:hover { color: #0f172a; }
.hypwa-tab-link.active { color: #2563eb; border-bottom-color: #2563eb; }

/* Standalone Content Flat Canvas Styles */
.hypwa-standalone-content {
    background: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 30px;
    display: flex; flex-direction: column; gap: 32px;
}
.hypwa-html-section { display: flex; flex-direction: column; width: 100%; }
.hypwa-html-section h1 { font-size: 24px; font-weight: 800; color: #0f172a; margin: 0 0 12px 0; }
.hypwa-html-section h2 { font-size: 20px; font-weight: 700; color: #1e293b; margin: 0 0 10px 0; }
.hypwa-html-section h3 { font-size: 16px; font-weight: 600; color: #334155; margin: 0 0 8px 0; }
.hypwa-html-section h4 { font-size: 14px; font-weight: 600; color: #475569; margin: 0 0 6px 0; }
.hypwa-html-section h5 { font-size: 12px; font-weight: 700; color: #64748b; text-transform: uppercase; margin: 0 0 6px 0; letter-spacing: 0.5px; }
.hypwa-html-section h6 { font-size: 11px; font-weight: 600; color: #94a3b8; text-transform: uppercase; margin: 0 0 4px 0; }
.hypwa-html-section hr { border: none; border-top: 1px solid #e2e8f0; margin: 16px 0; width: 100%; }
.hypwa-html-section p { font-size: 13px; line-height: 1.6; color: #475569; margin: 0 0 12px 0; }

.hypwa-html-section blockquote { margin: 14px 0; padding: 12px 20px; background: #f8fafc; border-left: 4px solid #cbd5e1; border-radius: 0 8px 8px 0; }
.hypwa-html-section blockquote p { font-style: italic; margin-bottom: 4px; color: #334155; }
.hypwa-html-section blockquote cite { font-size: 11px; color: #94a3b8; font-weight: 500; display: block; }
.hypwa-html-section pre { background: #0f172a; border-radius: 8px; padding: 14px; margin: 12px 0; overflow-x: auto; }
.hypwa-html-section pre code { background: transparent; color: #38bdf8; padding: 0; font-size: 12px; font-family: monospace; }
.hypwa-html-section code { background: #f1f5f9; color: #e11d48; padding: 2px 6px; border-radius: 4px; font-size: 12px; font-family: monospace; }

.hypwa-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.hypwa-list-grid ul, .hypwa-list-grid ol { margin: 0; padding-left: 18px; font-size: 13px; color: #475569; line-height: 1.6; }
.hypwa-list-grid dl dt { font-weight: 600; font-size: 12px; color: #0f172a; margin-top: 6px; }
.hypwa-list-grid dl dd { font-size: 12px; color: #64748b; margin-left: 0; padding-left: 4px; }

/* Accordion Component Framework */
.hypwa-accordion-stack { display: flex; flex-direction: column; gap: 12px; }
.hypwa-card { background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; }
.hypwa-card.open { border-color: #3b82f6; box-shadow: 0 0 0 1px #3b82f6; }
.hypwa-card-header { padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; user-select: none; }
.hypwa-card-title-block { display: flex; align-items: center; gap: 14px; }
.hypwa-card-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.hypwa-card-icon .dashicons { font-size: 18px; width:18px; height:18px; }

.blue-icon { background-color: #eff6ff; color: #2563eb; }
.green-icon { background-color: #f0fdf4; color: #16a34a; }
.purple-icon { background-color: #f5f3ff; color: #7c3aed; }

.hypwa-card-title-block h3 { margin: 0; font-size: 14px; font-weight: 600; color: #0f172a; }
.hypwa-card-title-block p { margin: 1px 0 0 0; font-size: 12px; color: #64748b; }
.hypwa-card-actions { display: flex; align-items: center; gap: 16px; }
.hypwa-chevron { color: #94a3b8; transition: transform 0.2s ease; }
.hypwa-card.open .hypwa-chevron { transform: rotate(180deg); color: #1e293b; }

.hypwa-pro-locked-card { background: #fafafa; border-style: dashed; }
.hypwa-upgrade-link {
    background-color: #ca8a04; color: #ffffff !important; font-size: 11px; font-weight: 700; 
    padding: 5px 12px; border-radius: 6px; text-decoration: none; display: inline-flex; 
    align-items: center; gap: 4px; transition: background 0.2s;
}
.hypwa-upgrade-link:hover { background-color: #a16e03; }
.hypwa-upgrade-link .dashicons { font-size: 12px; width:12px; height:12px; }

/* Grid Row Options Layout */
.hypwa-card-content { display: none; padding: 0 20px 20px 70px; border-top: 1px solid #f1f5f9; padding-top: 20px; }
.hypwa-form-row { display: flex; padding: 14px 0; border-bottom: 1px solid #f1f5f9; align-items: flex-start; width: 100%; }
.hypwa-form-row:last-of-type { border-bottom: none; }

.hypwa-label-col { width: 40%; padding-right: 15px; }
.hypwa-label-col label { display: block; font-weight: 500; font-size: 13px; color: #1e293b; margin-bottom: 3px; }
.hypwa-field-desc { display: block; font-size: 11px; color: #64748b; line-height: 1.4; }

.hypwa-input-col { width: 60%; }
.hypwa-controls-vertical-list { display: flex; flex-direction: column; gap: 8px; padding-top: 2px; }
.hypwa-html-control-lbl { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: #334155; font-weight: 500; cursor: pointer; }
.hypwa-html-control-lbl input { margin: 0 !important; }

/* Control Size Matrix Constraints */
.hypwa-input-col select { width: 100% !important; background-color: #ffffff; border: 1px solid #cbd5e1; border-radius: 6px; padding: 6px 10px; font-size: 12px; color: #1e293b; outline: none; }
.hypwa-text-input { width: 100%; background-color: #ffffff; border: 1px solid #cbd5e1; border-radius: 6px !important; padding: 6px 10px; font-size: 12px; color: #1e293b; outline: none; }
.hypwa-textarea-input { width: 100%; height: 65px; background-color: #ffffff; border: 1px solid #cbd5e1; border-radius: 6px; padding: 6px 10px; font-size: 12px; color: #1e293b; outline: none; resize: vertical; font-family: inherit; }

.hypwa-upload-wrapper { display: flex; gap: 8px; width: 100%; }
.hypwa-upload-wrapper .hypwa-text-input { flex-grow: 1; max-width: none; }
.hypwa-upload-btn { white-space: nowrap; padding: 6px 10px !important; font-size: 11px !important; }

/* Checkbox Toggle Switch Elements */
.hypwa-toggle-label-wrap { display: flex; align-items: center; gap: 8px; }
.hypwa-toggle-txt { font-size: 10px; font-weight: 700; color: #64748b; width: 22px; }
.hypwa-switch { position: relative; display: inline-block; width: 38px; height: 20px; }
.hypwa-switch input { opacity: 0; width: 0; height: 0; }
.hypwa-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #e2e8f0; transition: .2s; border-radius: 20px; }
.hypwa-slider:before { position: absolute; content: ""; height: 14px; width: 14px; left: 3px; bottom: 3px; background-color: white; transition: .2s; border-radius: 50%; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
input:checked + .hypwa-slider { background-color: #10b981; }
input:checked + .hypwa-slider:before { transform: translateX(18px); }
input:checked + .hypwa-option-slider { background-color: #2563eb !important; }

/* Right Sidebar Widgets */
.hypwa-side-widget { background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 16px; }
.hypwa-widget-title { font-weight: 600; font-size: 13px; color: #0f172a; display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.hypwa-widget-title .dashicons { font-size: 14px; width: 14px; height: 14px; vertical-align: middle; }
.blue-txt { color: #2563eb; }
.hypwa-widget-desc { font-size: 11px; color: #64748b; line-height: 1.4; margin: 0 0 10px 0; }

.hypwa-widget-btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 4px; border: 1px solid #cbd5e1; background: #ffffff; border-radius: 6px; padding: 6px 10px; font-size: 11px; color: #475569; text-decoration: none; font-weight: 500; cursor: pointer; }
.hypwa-widget-btn-outline:hover { background-color: #f1f5f9; }

.hypwa-mock-preview-box { background-color: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; padding: 10px; height: 90px; display: flex; flex-direction: column; justify-content: space-between; }
.hypwa-mock-browser-dots { display: flex; gap: 3px; }
.hypwa-mock-browser-dots span { width: 5px; height: 5px; border-radius: 50%; background-color: #cbd5e1; }
.hypwa-mock-svg-graphic { flex-grow: 1; display: flex; align-items: center; justify-content: center; color: #cbd5e1; }
.hypwa-mock-svg-graphic .dashicons { font-size: 32px; width: 32px; height: 32px; }

/* Global Buttons Action System */
.hypwa-btn-blue { background-color: #2563eb; color: #ffffff; border: none; padding: 8px 10px; border-radius: 6px; font-size: 12px; font-weight: 500; cursor: pointer; }
.hypwa-btn-blue:hover { background-color: #1d4ed8; }
.hypwa-btn-grey { background-color: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; padding: 8px 16px; border-radius: 6px; font-size: 12px; font-weight: 500; cursor: pointer; }
.hypwa-btn-grey:hover { background-color: #e2e8f0; }

/* Fixed Footer Actions Navigation Elements */
.hypwa-bottom-bar {
    position: fixed; bottom: 0; right: 0; left: 160px; height: 60px;
    background-color: #ffffff; border-top: 1px solid #e2e8f0;
    display: flex; align-items: center; justify-content: space-between; padding: 0 24px;
    box-shadow: 0 -3px 10px rgba(0,0,0,0.02); z-index: 999;
}
@media (min-width: 783px) { .hypwa-bottom-bar { left: 160px; } }
.hypwa-bottom-status { font-size: 12px; font-weight: 500; display: flex; align-items: center; gap: 6px; color: #475569; }
.hypwa-dot-indicator { width: 8px; height: 8px; background-color: #f59e0b; border-radius: 50%; display: inline-block; }
.hypwa-bottom-actions { display: flex; gap: 10px; }

@media (max-width: 1024px) {
    .hypwa-page-body-grid { flex-direction: column; }
    .hypwa-settings-pane, .hypwa-right-sidebar-pane { width: 100%; max-width: none; }
}

/* QUICK LINKS UI ROW ELEMENTS */
.hypwa-side-links-list { list-style: none; padding: 0; margin: 0; }
.hypwa-side-links-list li { margin: 0; border-bottom: 1px solid #f1f5f9; }
.hypwa-side-links-list li:last-child { border-bottom: none; }
.hypwa-side-links-list a {
    display: flex; justify-content: space-between; align-items: center; padding: 10px 0; color: #475569; text-decoration: none; font-size: 12px; font-weight: 500;
}
.hypwa-side-links-list a:hover { color: #2563eb; }
.hypwa-side-links-list .dashicons { font-size:14px; width:14px; height:14px; color:#94a3b8; vertical-align: middle;  }            

/* Footer Container - Clean white bar matching main canvas background */
.hypwa-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 15px 24px;
    box-sizing: border-box;
}

/* Left Section (70% Width) + Clean Right-Side Divider */
.hypwa-footer-left {
    flex: 0 0 69%;
    max-width: 69%;
    display: flex;
    align-items: center;
    border-right: 1px solid #e2e8f0; /* Crisp divider matching abc.png */
    padding-right: 30px;
    box-sizing: border-box;
}

/* Right Section (30% Width) */
.hypwa-footer-right {
    flex: 0 0 30%;
    max-width: 30%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-left: 30px;
    box-sizing: border-box;
}

/* Premium Layout Flex alignment */
.hypwa-premium-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

/* Updated Premium Icon Color */
.hypwa-premium-icon {
    font-size: 22px;
    width: 22px;
    height: 22px;
    color: #ff9e00; 
}
.hypwa-premium-active-icon {
	color: #10b981; /* Green checkmark for active premium */
}
/* Typography matching dashboard scales */
.hypwa-premium-text {
    flex-grow: 1;
}

.hypwa-premium-text strong {
    display: block;
    font-size: 14px;
    color: #0f172a; /* Deep slate title text */
    margin-bottom: 2px;
}

.hypwa-premium-text p {
    margin: 0;
    font-size: 13px;
    color: #64748b; /* Muted description text */
    line-height: 1.4;
}

/* Updated Premium Button styling with #ff9e00 */
.hypwa-btn-premium-upgrade {
    display: inline-block;
    background-color: #ff9e00;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 7px 10px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 12px;
    white-space: nowrap;
    transition: background-color 0.15s ease-in-out;
}

.hypwa-btn-premium-upgrade:hover {
    background-color: #e08b00; /* Darker orange hover state */
    color: #ffffff !important;
}

/* Action alignment adjustments */
.hypwa-bottom-actions {
    display: flex;
    gap: 12px;
    margin: 0;
}

/* UTM Tracking related css */
.hypwa-cf-utm-preview-wrapper{
    white-space: normal;
    word-break: break-all;
}

.hypwa-cf-utm-preview {
    background: #f6f8fb;
    border: 1px solid #dcdcde;
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 4px;
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: 1.8;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.hypwa-cf-utm-preview code {
    background: transparent;
    padding: 0;
    font-size: 13px;
    color: #1e1e1e;
    font-family: Consolas, Monaco, monospace;
}

.hypwa-cf-utm-preview span {
    display: inline-block;
    background: #e7f1ff;
    color: #0057b8;
    padding: 2px 8px;
    border-radius: 5px;
    margin: 2px 0;
    font-weight: 600;
}

/* Saving button code starts here */
.hypwa-saving-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  /* Your existing blue background, padding, and font styles */
}

/* Spinner hidden by default */
.hypwa-saving-btn .hypwa-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: hypwa-spin 0.6s linear infinite;
}

/* Display and animate when loading class is active */
.hypwa-saving-btn.hypwa-is-loading .hypwa-spinner {
  display: inline-block;
}

.hypwa-saving-btn.hypwa-is-loading {
  opacity: 0.75;
  cursor: not-allowed;
}

@keyframes hypwa-spin {
  to { transform: rotate(360deg); }
}

/* Saving button code ends here */

/* -----------------------------------------------------
    Screenshots css starts here
   -----------------------------------------------------
*/
.hypwa-screenshots-ff-row {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
}
.hypwa-screenshots-ff-row:last-of-type {
    border-bottom: none;
}
 
/* Icon sits inline with the label */
.hypwa-ff-icon {
    font-size: 13px;
    width: 13px;
    height: 13px;
    color: #2563eb;
    vertical-align: middle;
    margin-right: 4px;
}
 
/* Repeater Wrap */
.hypwa-repeater-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}
 
/* Individual Repeater Item */
.hypwa-repeater-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    position: relative;
}
 
.hypwa-repeater-item:hover {
    border-color: #bfdbfe;
    box-shadow: 0 0 0 1px #bfdbfe;
}
 
/* Badge (row number) */
.hypwa-repeater-badge {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: #2563eb;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    line-height: 1;
}
 
/* Fields column – URL + caption stacked */
.hypwa-repeater-fields {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0; /* prevents flex overflow */
}
 
/* Caption input gets slightly less weight visually */
.hypwa-repeater-label-input {
    font-size: 11px !important;
    color: #64748b !important;
}
 
/* Thumbnail Preview */
.hypwa-screenshot-thumb-wrap {
    margin-top: 6px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    display: inline-block;
    max-width: 100%;
    background: #ffffff;
}
 
.hypwa-screenshot-thumb {
    display: block;
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
}
 
/* Remove Butto */
.hypwa-repeater-remove-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 4px;
    padding: 0;
    transition: background 0.15s ease, border-color 0.15s ease;
}
 
.hypwa-repeater-remove-btn:hover {
    background: #ffe4e6;
    border-color: #fca5a5;
}
 
.hypwa-repeater-remove-btn .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: #ef4444;
    line-height: 1;
}
 
/* Add Screenshot Button */
.hypwa-repeater-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    color: #2563eb;
    border: 1px dashed #93c5fd;
    border-radius: 6px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    width: 100%;
    justify-content: center;
}
 
.hypwa-repeater-add-btn:hover {
    background: #dbeafe;
    border-color: #60a5fa;
}
 
.hypwa-repeater-add-btn .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    line-height: 1;
}
 
/* Entrance animation for newly added rows */
.hypwa-repeater-item--new {
    animation: hypwa-repeater-fadein 0.2s ease forwards;
}
 
@keyframes hypwa-repeater-fadein {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* -----------------------------------------------------
    Screenshots css ends here
   -----------------------------------------------------
*/

/* -----------------------------------------------------
    Pre Caching css starts here
   -----------------------------------------------------
*/
.hypwa-pre-cache-section-head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    padding: 10px 0 6px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 2px;
}
.hypwa-pre-cache-section-head .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: #2563eb;
}
 
/* Column header bar */
.hypwa-pc-grid-header {
    display: grid;
    grid-template-columns: 180px 1fr 36px 1fr;
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px 6px 0 0;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-top: 8px;
}
 
/* One post-type row */
.hypwa-pc-row {
    display: grid;
    grid-template-columns: 180px 1fr 36px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-top: none;
    background: #ffffff;
    transition: background 0.15s ease;
}
.hypwa-pc-row:last-of-type {
    border-radius: 0 0 6px 6px;
}
.hypwa-pc-row:hover {
    background: #fafbff;
}
.hypwa-pc-row--active {
    background: #f0f7ff;
}
 
/* Post type label + checkbox */
.hypwa-pc-type-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: #334155;
}
.hypwa-pc-type-label input[type="checkbox"] {
    margin: 0 !important;
    width: 14px;
    height: 14px;
    cursor: pointer;
    flex-shrink: 0;
}
.hypwa-pc-type-icon .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: #2563eb;
}
.hypwa-pc-type-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
 
/* Count (latest N) column */
.hypwa-pc-count-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s ease;
}
.hypwa-pc-count-input {
    width: 70px !important;
    text-align: center;
}
.hypwa-pc-count-label {
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
}
 
/* OR badge */
.hypwa-pc-or-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.5px;
    margin: 0 auto;
}
 
/* Specific select column */
.hypwa-pc-specific-wrap {
    transition: opacity 0.2s ease;
}
.hypwa-pc-specific-select {
    width: 100% !important;
}
 
.hypwa-pc-side--muted {
    opacity: 0.38;
}

.hypwa-pc-side--muted input,
.hypwa-pc-side--muted select {
    background: #f8fafc !important;
    color: #94a3b8 !important;
}
 
/* Disabled row (checkbox unchecked) dims the whole row content */
.hypwa-pc-row:not(.hypwa-pc-row--active) .hypwa-pc-col-latest,
.hypwa-pc-row:not(.hypwa-pc-row--active) .hypwa-pc-col-divider {
    opacity: 0.35;
    pointer-events: none;
}
.hypwa-pc-row:not(.hypwa-pc-row--active) .hypwa-pc-col-specific {
    opacity: 0.35;
}
/* -----------------------------------------------------
    Pre Caching css ends here
   -----------------------------------------------------
*/

/**
 * -----------------------------------------------------------------------------
 * Isolated Dropzone Box Extension — Compact Inline Format
 * -----------------------------------------------------------------------------
 */
.hypwa-tools-scope .hypwa-import-dropzone-container {
    border: 2px dashed #cbd5e1;
    border-radius: 6px;
    background: #fafafa;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
}

.hypwa-tools-scope .hypwa-import-dropzone-container:hover {
    border-color: #3b82f6;
    background: #f0f9ff;
}

/* ============================================================
   HYPWA Tools Settings — Export / Import
   ============================================================ */

/* Export button */
.hypwa-export-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Shared icon sizing for buttons */
.hypwa-btn-icon {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Import row wrapper */
.hypwa-import-row {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
}

/* ── Drop-zone ── */
.hypwa-import-dropzone-container {
    flex: 1;
    min-height: 40px;
    padding: 6px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hidden native file input */
.hypwa-import-file-input {
    display: none;
}

/* Default (empty) state */
.hypwa-dropzone-default-view {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hypwa-dropzone-icon {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #94a3b8;
    margin: 0;
}

.hypwa-dropzone-label {
    font-size: 13px;
    color: #64748b;
}

.hypwa-dropzone-browse {
    color: #3b82f6;
    font-weight: 500;
}

/* File-selected state */
.hypwa-dropzone-file-view {
    display: none;           /* toggled to flex via JS */
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.hypwa-dropzone-file-icon {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #3b82f6;
    margin: 0;
}

.hypwa-import-filename {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.hypwa-dropzone-change {
    font-size: 11px;
    color: #ef4444;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 4px;
}

/* ── Import action buttons ── */
.hypwa-import-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

#hypwa-import-load-btn {
    height: 40px;
    padding: 0 16px;
    border-radius: 6px;
    margin: 0;
}

.hypwa-import-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    border-radius: 6px;
    margin: 0;
    font-weight: 500;
}

/* Disabled state (before a file is chosen) */
.hypwa-import-btn--disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.hypwa-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 600;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 4px;
    padding: 1px 7px;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.6;
    vertical-align: middle;
    margin-left: 4px;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.hypwa-doc-link:hover {
    background: #dbeafe;
    border-color: #93c5fd;
    color: #1d4ed8;
}
.hypwa-doc-link .dashicons {
    font-size: 11px;
    width: 11px;
    height: 11px;
    margin-top: 1px;
}

.hypwa-doc-link-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 12px;
    justify-content: flex-end;
}

.hypwa-doc-link-footer .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.hypwa-input-col .select2-container {
    z-index: auto;
}

/* =====================================================
   Field Validation States
   ===================================================== */

.hypwa-field-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 1px #ef4444 !important;
}

.hypwa-field-success {
    border-color: #16a34a !important;
    box-shadow: 0 0 0 1px #16a34a !important;
}

.hypwa-field-message {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.hypwa-field-message .dashicons {
    width: 13px;
    height: 13px;
    font-size: 13px;
}

.hypwa-field-message-error {
    color: #dc2626;
}

.hypwa-field-message-error .dashicons {
    color: #ef4444;
}

.hypwa-field-message-success {
    color: #10b981;
}

.hypwa-field-message-success .dashicons {
    color: #16a34a;
}

/**
 * Separate heading section in accordion
 * */
.hypwa-section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    margin: 16px 0 4px;
    border-bottom: 1px solid #e2e8f0;
}

.hypwa-section-head-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--hypwa-sh-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hypwa-section-head-icon .dashicons {
    font-size: 13px;
    width: 13px;
    height: 13px;
    color: #ffffff;
}

.hypwa-section-head strong {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--hypwa-sh-color);
    line-height: 1.3;
}

.hypwa-section-head span {
    font-size: 11px;
    color: #64748b;
    line-height: 1.3;
}