li#toplevel_page_dragwyb-form-overview .wp-menu-image img {
    padding-top: 5px;
}


body:where(.toplevel_page_dragwyb-dashboard,.smart-forms_page_dragwyb-form-overview,.smart-forms_page_dragwyb-form-analytics,.smart-forms_page_dragwyb-settings) .notice{
	display: none;
}

/* ==========================================================================
   Smart Form Builder - Overview Page UI Redesign
   ========================================================================== */

.dragwyb-overview-wrap {
    max-width: 100%;
    margin: 15px calc(1rem  + 20px) 20px 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Top Header Card */
/* Top Header Bar */
.dragwyb-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    margin: 1rem calc(1rem + 20px) 1rem 1rem;
}

.dragwyb-db-brand {
	display: flex;
	align-items: center;
	gap: 12px;
}

.dragwyb-db-logo {
	width: 42px;
	height: 42px;
	background: hsl(var(--dragwyb-primary));
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dragwyb-db-logo img {
	width: 26px;
	height: 26px;
}

.dragwyb-db-title-group {
	display: flex;
	align-items: baseline;
	gap: 12px;
}

.dragwyb-db-brand-name {
	font-size: 20px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
	line-height: 1.2;
}

.dragwyb-db-sub-title {
	font-size: 14px;
	font-weight: 500;
	color: #64748b;
    margin: 0;
}

.dragwyb-btn-primary-add {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: hsl(var(--dragwyb-primary));
	color: #ffffff !important;
	font-weight: 600;
	font-size: 14px;
	padding: 10px 18px;
	border-radius: 8px !important;
	text-decoration: none !important;
	transition: all 0.2s ease;
	box-shadow: 0 2px 4px rgba(225, 29, 72, 0.2);
    border-width: 0px;
    cursor: pointer;
}

.dragwyb-btn-primary-add:hover {
	background-color: #be123c;
	box-shadow: 0 4px 8px rgba(225, 29, 72, 0.3);
	transform: translateY(-1px);
}

.dragwyb-btn-primary-add:focus{
    box-shadow: unset;
}

.dragwyb-btn-primary-add svg{
    width: 18px;
    height: 18px;
}

/* Table Section Container Card */
.dragwyb-overview-table-card {
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

.dragwyb-overview-table-card .subsubsub {
    margin-bottom: 16px;
    font-size: 13px;
}

/* Dynamic Fluid Column Widths */
.wp-list-table.dragwyb-forms .column-cb {
    width: 3%;
}

.wp-list-table.dragwyb-forms .column-name {
    width: 23%;
}

.wp-list-table.dragwyb-forms .column-shortcode {
    width: 22%;
}

.wp-list-table.dragwyb-forms .column-views {
    width: 13%;
}

.wp-list-table.dragwyb-forms .column-submissions {
    width: 11%;
}

.wp-list-table.dragwyb-forms .column-conversion_rate {
    width: 11%;
}

.wp-list-table.dragwyb-forms .column-clean_cache {
    width: 9%;
}

.wp-list-table.dragwyb-forms .column-date {
    width: 8%;
}

/* Column Info Icon */
.dragwyb-info-icon {
    font-size: 12px;
    color: #94a3b8;
    margin-left: 4px;
    cursor: help;
}

/* WP List Table Base Overrides */
.wp-list-table.dragwyb-forms {
    border: none !important;
    box-shadow: none !important;
    background: #ffffff !important;
    width: 100% !important;
    max-width: 100% !important;
    table-layout: auto !important;
    box-sizing: border-box !important;
}

.wp-list-table.dragwyb-forms thead :where(th, td) {
    border-bottom: 2px solid #f1f5f9 !important;
    background: transparent !important;
    color: #475569 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 12px 8px !important;
    box-sizing: border-box !important;
}

.wp-list-table.dragwyb-forms tbody tr {
    transition: background-color 0.15s ease !important;
}

.wp-list-table.dragwyb-forms tbody tr:hover {
    background-color: #f8fafc !important;
}

.wp-list-table.dragwyb-forms tbody td {
    border-top: 1px solid #f1f5f9 !important;
    padding: 12px 8px !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}

/* Name Column Cell */
.dragwyb-name-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dragwyb-form-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dragwyb-form-icon .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.dragwyb-name-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dragwyb-form-title-link {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a !important;
    text-decoration: none !important;
}

.dragwyb-form-title-link:hover {
    color: #e11d48 !important;
}

.dragwyb-status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    width: fit-content;
}

.dragwyb-status-published {
    background: #dcfce7;
    color: #15803d;
}

.dragwyb-status-draft {
    background: #f3e8ff;
    color: #7e22ce;
}

/* Shortcode Box */
.dragwyb-shortcode-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff0f5;
    border: 1px solid #fecdd3;
    border-radius: 8px;
    padding: 8px 14px;
    cursor: pointer;
    transition: all 0.2s ease;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.dragwyb-shortcode-box::selection,
.dragwyb-shortcode-box::-moz-selection {
    background: transparent;
    color: inherit;
}

.dragwyb-shortcode-box:hover {
    background: #ffe4e6;
    border-color: #fda4af;
}

.dragwyb-shortcode-box.copied {
    background: #dcfce7 !important;
    border-color: #86efac !important;
}

.dragwyb-shortcode-box.copied .dragwyb-shortcode-text,
.dragwyb-shortcode-box.copied .dragwyb-copy-icon {
    color: #15803d !important;
}

.dragwyb-shortcode-text {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    font-weight: 600;
    color: #e11d48;
}

.dragwyb-copy-icon {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: #e11d48;
}

/* Views Card */
.dragwyb-views-card {
    background: #f0f7ff;
    border-radius: 10px;
    padding: 10px 14px;
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    min-width: 110px;
}

.dragwyb-views-header {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #2563eb;
}

.dragwyb-views-header .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.dragwyb-views-count {
    font-size: 16px;
    font-weight: 700;
    color: #1e3a8a;
}

.dragwyb-views-sub {
    font-size: 11px;
    color: #64748b;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Submissions Card */
.dragwyb-submissions-card {
    background: #f0fdf4;
    border-radius: 10px;
    padding: 12px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #16a34a;
}

.dragwyb-submissions-card .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.dragwyb-submissions-count {
    font-size: 16px;
    font-weight: 700;
    color: #15803d;
}

/* Conversion Rate */
.dragwyb-conversion-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dragwyb-conversion-value {
    font-size: 15px;
    font-weight: 700;
    color: #e11d48;
}

.dragwyb-progress-track {
    width: 90px;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.dragwyb-progress-fill {
    height: 100%;
    background: #e11d48;
    border-radius: 3px;
    transition: width 0.4s ease;
}

/* Date Cell */
.dragwyb-date-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
}

.dragwyb-date-cell .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.dragwyb-date-wrap {
    display: flex;
    flex-direction: column;
}

.dragwyb-date-main {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
}

.dragwyb-date-time {
    font-size: 11px;
    color: #64748b;
}

/* ==========================================================================
   Smart Forms - Tracking Disabled Info Notice (Executive Redesign)
   ========================================================================== */

.dragwyb-tracking-notice {
    align-items: center;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    padding: 16px 28px !important;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    position: relative;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    overflow: hidden;
}

body:not(.smart-forms_page_dragwyb-entries, .smart-forms_page_dragwyb-error-log) .dragwyb-tracking-notice{
    margin: 15px calc(1rem + 20px) 15px 1rem !important;
}

/* Left Accent Gradient Strip */
.dragwyb-tracking-notice::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: hsl(var(--dragwyb-primary));
}

.dragwyb-tracking-notice-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

.dragwyb-tracking-notice-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

/* Modern Rounded Icon Badge */
.dragwyb-tracking-notice-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    background: hsl(var(--dragwyb-primary)/0.1);
    border: 1px solid hsl(var(--dragwyb-primary)/0.1);
    color: hsl(var(--dragwyb-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dragwyb-tracking-notice-icon svg {
    width: 22px;
    height: 22px;
}

.dragwyb-tracking-notice-content {
    flex: 1;
    min-width: 0;
}

.dragwyb-tracking-notice-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 3px;
}

.dragwyb-tracking-notice-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

/* Subtle Status Pill */
.dragwyb-tracking-notice-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    background: hsl(var(--dragwyb-primary)/0.1);
    color: hsl(var(--dragwyb-primary));
    border: 1px solid hsl(var(--dragwyb-primary)/0.1);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dragwyb-tracking-notice-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: hsl(var(--dragwyb-primary));
}

.dragwyb-tracking-notice-desc {
    margin: 0 !important;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.dragwyb-tracking-notice-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.dragwyb-tracking-notice .dragwyb-tracking-notice-btn svg {
    width: 15px;
    height: 15px;
    transition: transform 0.3s ease;
}

.dragwyb-tracking-notice .dragwyb-tracking-notice-btn:hover svg {
    transform: rotate(45deg);
}

@media (max-width: 960px) {
    .dragwyb-tracking-notice {
        padding: 16px 20px !important;
    }
    .dragwyb-tracking-notice-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .dragwyb-tracking-notice-left {
        width: 100%;
    }
    .dragwyb-tracking-notice-actions {
        width: 100%;
        justify-content: flex-start;
    }
    .dragwyb-tracking-notice.is-dismissible .notice-dismiss {
        top: 16px !important;
        transform: none !important;
    }
}

.dragwyb-tracking-notice {
    display: grid !important;
    grid-template-rows: 1fr;
    overflow: hidden;
    transition: all 300ms ease;
}

.dragwyb-tracking-notice.hide-notice {
    grid-template-rows: 0fr;
    padding-block: 0px !important;
    border: 0px !important;
    box-shadow: unset !important;
    opacity: 0 !important;
}

.dragwyb-tracking-notice-inner {
    min-height: 0;
    overflow: hidden;
}