/* Seazonify Admin Styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');

:root {
    --sz-primary: 218 100% 66%;
    --sz-primary-glow: 218 100% 76%;
    --sz-accent: 142 76% 58%;
    --sz-background: 0 0% 100%;
    --sz-foreground: 240 10% 3.9%;
    --sz-card: 0 0% 100%;
    --sz-muted: 240 4.8% 95.9%;
    --sz-muted-foreground: 240 3.8% 46.1%;
    --sz-border: 240 5.9% 90%;
    --sz-radius: 0.5rem;
    
    --sz-gradient-aurora: linear-gradient(135deg, hsl(var(--sz-primary)), hsl(var(--sz-primary-glow)), hsl(var(--sz-accent)));
    --sz-gradient-seazonify: linear-gradient(135deg, #2563eb, #1d4ed8, #10b981);
    --sz-shadow-magical: 0 20px 40px -10px hsl(var(--sz-primary) / 0.2);
    --sz-transition-magical: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* V6 Workspace Variables */
    --sz-primary-v6: #1d4ed8; 
    --sz-primary-hover: #1e40af;
    --sz-border: #e2e8f0;
    --sz-bg-app: #ffffff;
    --sz-text-main: #0f172a;
    --sz-text-muted: #64748b;
    --sz-radius-v6: 0.5rem;
    --sz-font-outfit: 'Outfit', sans-serif;
    --sz-font-inter: 'Inter', sans-serif;
}


/* V6 Workspace Common Styles */
.sz-v6-workspace {
    margin: 24px 24px 0 4px;
    font-family: var(--sz-font-inter);
    color: var(--sz-text-main);
}

/* Isolate Seazonify UI from global WP notices */
.seazonify-admin-wrap ~ .notice,
.seazonify-admin-wrap ~ .updated,
.seazonify-admin-wrap ~ .error,
.seazonify-admin-wrap ~ .is-dismissible,
#wpbody-content > .notice,
#wpbody-content > .updated,
#wpbody-content > .error,
#wpbody-content > .is-dismissible,
.sz-v6-workspace ~ .notice,
.sz-v6-workspace ~ .updated,
.sz-v6-workspace ~ .error,
.sz-v6-workspace ~ .is-dismissible {
    display: none !important;
}

/* Header */
.sz-v6-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

.sz-v6-header-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: nowrap;
}

.sz-v6-title { font-family: var(--sz-font-outfit); font-size: 28px; font-weight: 700; margin: 0 0 4px 0; }
.sz-v6-subtitle { margin: 0; color: var(--sz-text-muted); font-size: 14px; }

/* Grid & Sidebar */
.sz-v6-workspace-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: flex-start;
}

.sz-v6-sidebar {
    position: sticky;
    top: 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    background: white;
    padding: 12px;
    border-radius: var(--sz-radius-v6);
    border: 1px solid var(--sz-border);
}

.sz-v6-nav { display: flex; flex-direction: column; gap: 8px; }

.sz-v6-nav-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: transparent;
    border: none;
    border-radius: var(--sz-radius-v6);
    color: var(--sz-text-main);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease-in-out;
}

.sz-v6-nav-item:hover, .sz-v6-nav-item.active { background: var(--sz-primary-v6); color: white; box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1); }
.sz-v6-nav-item.active .text span { color: rgba(255, 255, 255, 0.7); }

/* Card System */
.sz-v6-card { background: white; border: 1px solid var(--sz-border); border-radius: var(--sz-radius-v6); overflow: hidden; box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.sz-v6-card-header { padding: 20px 24px; border-bottom: 1px solid var(--sz-border); display: flex; justify-content: space-between; align-items: center; }
.sz-v6-card-header h2, .sz-v6-card-header h3 { font-size: 14px; font-weight: 600; margin: 0 0 4px 0; color: var(--sz-text-muted); text-transform: none; }
.sz-v6-card-header p { margin: 0; font-size: 12px; color: var(--sz-text-muted); }
.sz-v6-card-content { padding: 24px; }

/* Metrics */
.sz-v6-metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.sz-v6-metric-value { font-family: var(--sz-font-outfit); font-size: 24px; font-weight: 700; color: var(--sz-text-main); margin-bottom: 4px; }
.sz-v6-metric-delta { font-size: 11px; font-weight: 500; color: var(--sz-text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Main Content Dual Layout */
.sz-v6-main-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}
@media (max-width: 991px) {
    .sz-v6-main-grid { grid-template-columns: 1fr; }
}
.sz-v6-main-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Actions List & Grid Styling (Support Box) */
.sz-v6-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.sz-v6-action-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid var(--sz-border);
    border-radius: var(--sz-radius-v6);
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.sz-v6-action-link:hover {
    background: white;
    border-color: #cbd5e1;
    color: var(--sz-primary-v6);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.sz-v6-action-link .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: var(--sz-primary-v6);
    opacity: 0.8;
}

.sz-v6-action-upgrade {
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
    color: #166534 !important;
}

.sz-v6-action-upgrade .dashicons {
    color: #16a34a !important;
}

.sz-v6-action-upgrade:hover {
    background: #dcfce7 !important;
    border-color: #86efac !important;
    color: #15803d !important;
}

/* Account Details Box */
.sz-v6-account-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}
.sz-v6-avatar-box {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    flex-shrink: 0;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5), 0 2px 4px rgba(0,0,0,0.05);
}
.sz-v6-avatar-box .dashicons { font-size: 24px; width: 24px; height: 24px; }
.sz-v6-account-text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.sz-v6-account-text strong {
    font-size: 16px;
    color: var(--sz-text-main);
    font-family: var(--sz-font-outfit);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sz-v6-account-text span {
    font-size: 13px;
    color: #64748b;
    margin-top: 2px;
}
.sz-v6-license-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
}
.sz-v6-badge-pro {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}
.sz-v6-license-status p {
    margin: 0;
    font-size: 12px;
    color: var(--sz-text-muted);
}
.sz-v6-actions-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sz-v6-actions-list .sz-v6-action-link {
    width: 100%;
    justify-content: flex-start;
    box-sizing: border-box;
    background: white;
}

/* Control Layouts */
.sz-v6-control-row { display: flex; justify-content: space-between; align-items: flex-start; }
.sz-v6-control-row .info label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.sz-v6-control-row .info p { margin: 0; font-size: 12px; color: var(--sz-text-muted); max-width: 400px; line-height: 1.5; }

/* Switches */
.sz-v6-switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.sz-v6-switch input { opacity: 0; width: 0; height: 0; }
.sz-v6-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: #e2e8f0; border-radius: 24px; transition: .3s; }
.sz-v6-slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background: white; border-radius: 50%; transition: .3s; }
.sz-v6-switch input:checked + .sz-v6-slider { background: var(--sz-primary-v6); }
.sz-v6-switch input:checked + .sz-v6-slider:before { transform: translateX(20px); }

/* Inputs & Selects */
.sz-v6-select { width: 100%; max-width: 320px; padding: 10px !important; border: 1px solid var(--sz-border) !important; border-radius: 6px !important; font-size: 13px !important; }
.sz-v6-input-group { display: flex; align-items: center; border: 1px solid var(--sz-border); border-radius: 6px; overflow: hidden; width: fit-content; }
.sz-v6-input-group input { border: none !important; padding: 10px; width: 80px; font-size: 13px; font-weight: 700; }
.sz-v6-input-group .addon { padding: 0 12px; font-size: 10px; font-weight: 700; color: var(--sz-text-muted); background: #f8fafc; border-left: 1px solid var(--sz-border); }

/* Buttons */
.sz-v6-btn-primary { background: #0f172a; color: white !important; padding: 10px 20px; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; font-size: 14px; }
.sz-v6-btn-danger { color: #ef4444; background: transparent; border: 1px solid #fee2e2; padding: 8px 16px; border-radius: 6px; font-weight: 600; font-size: 12px; cursor: pointer; }
.sz-v6-btn-danger:hover { background: #fef2f2; }
.sz-v6-btn-magical { background: #1d4ed8; color: white !important; padding: 10px 20px; border-radius: 6px; font-weight: 600; font-size: 14px; text-decoration: none; display: flex; align-items: center; gap: 8px; transition: background 0.2s; }
.sz-v6-btn-magical:hover { background: #1e40af; }

/* Status Boxes */
.sz-v6-status-box { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 8px; border: 1px solid var(--sz-border); }
.sz-v6-status-box.success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.sz-v6-status-box span { font-size: 24px; }

/* Success Messages */
.sz-v6-alert-pill { background: #f0fdf4; color: #16a34a; padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; border: 1px solid #bbf7d0; display: flex; align-items: center; gap: 6px; }

/* Icons Colors */
.sz-icon-blue { color: #3b82f6; }
.sz-icon-green { color: #10b981; }
.sz-icon-orange { color: #f97316; }
.sz-icon-purple { color: #8b5cf6; }
.sz-icon-gold { color: #eab308; }

/* Utilities */
.sz-v6-divider { height: 1px; background: #f1f5f9; margin: 24px 0; }
.sz-v6-label-bold { font-weight: 700; font-size: 12px; color: var(--sz-text-main); margin-bottom: 8px; display: block; }
.hidden { display: none !important; }

/* Animations */
.sz-v6-section { display: none; }
.sz-v6-section.active { display: block; animation: szFadeIn 0.25s ease-out; }
@keyframes szFadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* V11 (Auto Seazonify) Premium Hero */
.sz-premium-hero { position: relative; padding: 60px 40px; background: #f8fafc; border-radius: 1rem; border: 1px solid var(--sz-border); margin-bottom: 40px; overflow: hidden; text-align: center; }
.sz-premium-hero.upcoming { background: radial-gradient(circle at 50% 120%, rgba(59, 130, 246, 0.1) 0%, transparent 60%), #fbfcfe; }
.sz-hero-canvas { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 70%); pointer-events: none; }
.sz-hero-content { position: relative; z-index: 10; cursor: default; }
.sz-v11-badge-wrap { margin-bottom: 20px; }
.sz-v11-badge { background: white; color: var(--sz-primary-v6); padding: 6px 14px; border-radius: 50px; font-size: 11px; font-weight: 800; letter-spacing: 0.05em; border: 1px solid var(--sz-border); box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05); }
.sz-v11-badge.pulse { animation: szPulse 2s infinite; }
.sz-v11-title { font-family: var(--sz-font-outfit); font-size: 48px; font-weight: 800; margin: 0 0 16px 0; letter-spacing: -0.03em; line-height: 1.1; }
.sz-v11-subtitle { margin: 0 auto 32px auto; color: var(--sz-text-muted); font-size: 17px; max-width: 600px; line-height: 1.6; }
.sz-text-gradient { background: linear-gradient(to right, #2563eb, #10b981); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* V11 Features */
.sz-v11-features-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.sz-v11-feature-item { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; background: white; border: 1px solid var(--sz-border); border-radius: var(--sz-radius-v6); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.sz-v11-feature-item:hover { transform: translateY(-4px); border-color: var(--sz-accent); box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.05); }
.icon-wrap { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.icon-wrap span { font-size: 22px; }
.icon-wrap.blue { background: #eff6ff; color: #2563eb; }
.icon-wrap.purple { background: #faf5ff; color: #9333ea; }
.icon-wrap.green { background: #f0fdf4; color: #16a34a; }
.text-wrap h3 { font-size: 16px; font-weight: 700; margin: 0 0 6px 0; font-family: var(--sz-font-outfit); }
.text-wrap p { font-size: 13px; color: var(--sz-text-muted); margin: 0; line-height: 1.5; }

/* V11 Pricing */
.sz-v11-pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sz-v11-plan-card { background: white; border: 1px solid var(--sz-border); border-radius: var(--sz-radius-v6); padding: 32px 24px; display: flex; flex-direction: column; position: relative; transition: all 0.3s; }
.sz-v11-plan-card.popular { border-color: var(--sz-primary-v6); box-shadow: 0 20px 25px -5px rgba(29, 78, 216, 0.05); background: linear-gradient(to bottom, #fff, #f8faff); }
.sz-v11-plan-name { font-family: var(--sz-font-outfit); font-size: 18px; font-weight: 700; margin: 0 0 16px 0; }
.sz-v11-plan-price .val { font-size: 32px; font-weight: 800; font-family: var(--sz-font-outfit); }
.sz-v11-plan-price .per { font-size: 13px; color: var(--sz-text-muted); }

/* V11 Misc */
.sz-v11-coming-soon-features { display: flex; justify-content: center; gap: 32px; margin-bottom: 40px; }
.cs-feature { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--sz-text-muted); }
.cs-feature .dashicons { color: var(--sz-primary-v6); font-size: 20px; width: 20px; height: 20px; }
.cs-feature strong { color: var(--sz-text-main); }
.sz-v11-footer-note { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 48px; color: var(--sz-text-muted); }
.sz-v11-footer-note p { margin: 0; font-size: 13px; }
.sz-v11-footer-note a { color: var(--sz-primary-v6); font-weight: 600; text-decoration: none; }

@keyframes szPulse {
    0% { box-shadow: 0 0 0 0 rgba(29, 78, 216, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(29, 78, 216, 0); }
    100% { box-shadow: 0 0 0 0 rgba(29, 78, 216, 0); }
}

/* V11 Premium Buttons */
.sz-v11-btn-primary {
    background: #5865F2; /* Discord Blurple */
    color: white !important;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
}

.sz-v11-btn-primary:hover {
    background: #4752C4;
    transform: scale(1.05);
    box-shadow: 0 10px 20px -5px rgba(88, 101, 242, 0.5);
}

.sz-glow {
    position: relative;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.3);
}

.sz-glow::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #5865F2, #8b5cf6, #10b981);
    border-radius: 52px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(8px);
    transition: opacity 0.3s;
}

.sz-glow:hover::after {
    opacity: 0.6;
}

/* Standard Admin CSS continues... */

.seazonify-welcome-wrap {
    margin: 60px 20px 60px 0;
    display: flex;
    justify-content: center;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: hsl(var(--sz-foreground));
    -webkit-font-smoothing: antialiased;
}

/* Explore Effects View */
.sz-v6-greeting { font-family: var(--sz-font-outfit); font-size: 32px; font-weight: 700; margin: 0 0 8px 0; letter-spacing: -0.02em; }
.sz-v6-performance-msg { margin: 0; font-size: 16px; color: var(--sz-text-muted); }

.sz-v6-insight-pill { display: flex; gap: 20px; align-items: center; border-radius: 12px; border: 1px solid transparent; padding: 24px 28px; background: linear-gradient(135deg, #faf5ff, #f3e8ff); border: 1px solid #e9d5ff; box-shadow: 0 4px 6px -1px rgba(168, 85, 247, 0.05); }
.sz-bg-blue-soft { background: #eff6ff; border-color: #dbeafe; }
.sz-bg-purple-soft { background: #faf5ff; border-color: #f3e8ff; }
.sz-bg-gray-soft { background: #f8fafc; border-color: #e2e8f0; }

.sz-v6-insight-icon { 
    width: 32px; 
    height: 32px; 
    border-radius: 50%; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
    color: white; 
    flex-shrink: 0; 
}

.sz-v6-insight-icon .dashicons { 
    font-size: 16px; 
    width: 16px; 
    height: 16px; 
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

.sz-bg-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.sz-bg-purple { background: linear-gradient(135deg, #a855f7, #9333ea); }
.sz-bg-gray { background: linear-gradient(135deg, #94a3b8, #64748b); }

.sz-v6-insight-text { display: flex; flex-direction: column; gap: 4px; }
.sz-v6-insight-text > strong { display: block; font-size: 14px; margin: 0; color: #1e1b4b; font-family: var(--sz-font-outfit); }
.sz-v6-insight-text p { margin: 0; font-size: 12px; color: #4b5563; line-height: 1.4; }
.sz-v6-insight-text p a { color: #7c3aed; text-decoration: underline; text-underline-offset: 4px; font-weight: 700; transition: color 0.2s; }
.sz-v6-insight-text p a:hover { color: #5b21b6; }

.sz-v6-sync-pill { font-size: 12px; font-weight: 600; padding: 6px 12px; background: white; border: 1px solid var(--sz-border); border-radius: 20px; display: flex; align-items: center; gap: 8px; color: var(--sz-text-muted); }
.sz-v6-dot { width: 6px; height: 6px; border-radius: 50%; }
.sz-v6-dot.online { background: #10b981; }

/* Isolate Seazonify UI from global WP notices */
.seazonify-admin-wrap ~ .notice,
.seazonify-admin-wrap ~ .updated,
.seazonify-admin-wrap ~ .error,
.seazonify-admin-wrap ~ .is-dismissible,
#wpbody-content > .notice,
#wpbody-content > .updated,
#wpbody-content > .error,
#wpbody-content > .is-dismissible {
    display: none !important;
}

/* Ensure our own internal feedback messages remain visible */
.seazonify-onboarding-card .feedback-message {
    display: block !important;
}

.seazonify-welcome-container {
    max-width: 580px;
    width: 100%;
}

.seazonify-welcome-header {
    text-align: center;
    margin-bottom: 40px;
    animation: sz-float 6s ease-in-out infinite;
}

.seazonify-logo-img {
    height: 90px;
    width: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 10px 15px rgba(59, 130, 246, 0.2));
}

.seazonify-welcome-header .tagline {
    font-size: 18px;
    color: hsl(var(--sz-muted-foreground));
    font-weight: 500;
}

.seazonify-onboarding-card {
    background: hsl(var(--sz-card));
    padding: 2.5rem 1.5rem;
    border-radius: var(--sz-radius);
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.05);
    text-align: center;
    border: 1px solid hsl(var(--sz-border));
    position: relative;
    overflow: hidden;
}

.seazonify-onboarding-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--sz-gradient-aurora);
}

.seazonify-onboarding-card h2 {
    font-size: 32px;
    margin: 0 0 12px 0;
    color: hsl(var(--sz-foreground));
    font-weight: 700;
    letter-spacing: -0.02em;
}

.step-description {
    color: hsl(var(--sz-muted-foreground));
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Steps Indicator */
.seazonify-steps-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: hsl(var(--sz-muted));
    transition: var(--sz-transition-magical);
}

.step-dot.active {
    background: hsl(var(--sz-primary));
    transform: scale(1.3);
    box-shadow: 0 0 15px hsl(var(--sz-primary) / 0.5);
}

.step-line {
    width: 40px;
    height: 2px;
    background: hsl(var(--sz-muted));
    margin: 0 10px;
}

/* Forms */
.form-group {
    text-align: left;
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: hsl(var(--sz-foreground));
    font-size: 14px;
}

.form-group input {
    width: 100% !important;
    height: 52px !important;
    padding: 0 16px !important;
    border: 1px solid hsl(var(--sz-border)) !important;
    border-radius: var(--sz-radius) !important;
    font-size: 16px !important;
    font-family: inherit !important;
    transition: var(--sz-transition-magical) !important;
    background: hsl(var(--sz-background)) !important;
}

.form-group input:focus {
    border-color: hsl(var(--sz-primary)) !important;
    box-shadow: 0 0 0 4px hsl(var(--sz-primary) / 0.1) !important;
    outline: none !important;
}

.step-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Primary Button */
.button-hero {
    height: 48px !important;
    padding: 0 24px !important;
    background: #1d4ed8 !important; /* Proper solid blue 700 */
    color: #ffffff !important;
    border: none !important;
    border-radius: var(--sz-radius) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    cursor: pointer;
    transition: var(--sz-transition-magical) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px; 
    line-height: 0 !important; 
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.button-hero:hover {
    background: #1e40af !important; /* blue 800 */
    transform: none !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

.button-hero:active {
    background: #172554 !important; /* blue 950 */
}

/* Nuclear override for Seazonify buttons to fix contrast issues */
#wpwrap .seazonify-admin-wrap .button-primary.button-hero:disabled,
#wpwrap .seazonify-admin-wrap .button-primary.button-hero[disabled],
#wpwrap .seazonify-admin-wrap .button-primary.button-hero.disabled {
    background: #1e40af !important; /* High contrast Dark Blue 800 */
    color: #ffffff !important; /* Solid White */
    opacity: 0.8 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    border: none !important;
    text-shadow: none !important;
}

/* Ensure spinner is visible */
.button-hero.loading .sz-spinner {
    display: inline-block !important;
    border-top-color: #ffffff !important;
}

/* OTP Inputs */
.otp-input-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
}

.otp-digit {
    width: 55px !important;
    height: 65px !important;
    text-align: center !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    border: 2px solid #cbd5e1 !important; /* Made more visible initially */
    border-radius: var(--sz-radius) !important;
    background: hsl(var(--sz-background)) !important;
    transition: var(--sz-transition-magical) !important;
}

.otp-digit:focus {
    border-color: #3b82f6 !important; /* sz-primary-v6 equivalent */
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
    outline: none !important;
}

/* Animations */
@keyframes sz-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.onboarding-step {
    display: none;
}

.onboarding-step.active {
    display: block;
    animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Spinner */
.sz-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: sz-spin 0.8s linear infinite;
    display: none;
    margin: 0 !important;
    flex-shrink: 0;
    box-sizing: border-box;
}

@keyframes sz-spin {
    to { transform: rotate(360deg); }
}

.loading .sz-spinner {
    display: block !important;
}

.feedback-message {
    margin-top: 25px;
    padding: 15px;
    border-radius: 12px;
    font-weight: 500;
    display: none;
    font-size: 14px;
}

.feedback-message.error {
    background: hsl(0 84% 60% / 0.1);
    color: hsl(0 84% 60%);
    border: 1px solid hsl(0 84% 60% / 0.2);
    display: block;
}

.feedback-message.success {
    background: #eff6ff; /* light blue-50 */
    color: #1d4ed8; /* sz-primary-v6 blue */
    border: 1px solid #bfdbfe; /* blue-200 */
    display: block;
}

.seazonify-welcome-footer {
    text-align: center;
    margin-top: 40px;
    color: hsl(var(--sz-muted-foreground));
}

.seazonify-welcome-footer a {
    color: hsl(var(--sz-primary));
    text-decoration: none;
    font-weight: 600;
}

/* Responsive Design Logic */

/* Tablets and small desktops */
@media (max-width: 991px) {
    .sz-v6-workspace-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .sz-v6-sidebar {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        padding: 8px;
        gap: 8px;
        white-space: nowrap;
    }

    .sz-v6-nav {
        flex-direction: row;
        gap: 8px;
    }

    .sz-v6-nav-item {
        padding: 8px 12px;
        flex-direction: row;
        align-items: center;
    }

    .sz-v6-nav-item .text span {
        display: none;
    }

    .sz-v6-sidebar-footer {
        display: none;
    }

    .sz-v6-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sz-v11-features-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .sz-v11-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* WordPress Admin Mobile Breakpoint */
@media (max-width: 782px) {
    .sz-v6-workspace {
        margin: 16px 16px 0 0;
    }

    .sz-v6-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .sz-v6-header-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .sz-v6-header-actions .sz-v6-btn-magical,
    .sz-v6-header-actions .sz-v6-btn-primary,
    .sz-v6-header-actions .sz-v11-btn-primary {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }

    .sz-v6-metrics-grid {
        grid-template-columns: 1fr;
    }

    .sz-v11-features-row {
        grid-template-columns: 1fr;
    }

    .sz-v11-pricing-grid {
        grid-template-columns: 1fr;
    }

    .sz-v6-control-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .sz-v6-control-row .info p {
        max-width: 100%;
    }

    .sz-v6-select {
        max-width: 100%;
    }
    
    .sz-v6-greeting {
        font-size: 26px;
    }
    
    .sz-v11-title {
        font-size: 36px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .sz-v6-insight-pill {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .sz-v6-account-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .sz-v6-btn-primary,
    .sz-v11-btn-primary {
        width: 100%;
        padding: 12px 16px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* Extra Small Mobile (OTP Optimization) */
@media (max-width: 400px) {
    .otp-digit {
        width: 40px !important;
        height: 50px !important;
        font-size: 20px !important;
    }
    
    .otp-input-container {
        gap: 8px;
    }
}

/* End of File */
