/* ============================================
   SMARTNET DASHBOARD v11.0
   Minimal dark dashboard + white login card
   Full-width layout (no sidebar)
   ============================================ */

/* ─── BASE ─── */
body.smartnet-myaccount-page .smartnet-account-shell,
body.smartnet-myaccount-page .smartnet-account-shell * {
    box-sizing: border-box;
}

body.smartnet-myaccount-page {
    padding-top: 71px !important;
    background: #0a0a0a !important;
    color: #e5e5e5;
}

/* ─── HIDE DEFAULTS ─── */
body.smartnet-myaccount-page .page-header,
body.smartnet-myaccount-page .entry-title,
body.smartnet-myaccount-page .entry-header,
body.smartnet-myaccount-page .page-title,
body.smartnet-myaccount-page .woocommerce-breadcrumb,
body.smartnet-myaccount-page .breadcrumbs,
body.smartnet-myaccount-page .breadcrumb,
body.smartnet-myaccount-page [class*="breadcrumb"],
body.smartnet-myaccount-page .feron-page-title,
body.smartnet-myaccount-page .feron-breadcrumb {
    display: none !important;
}

body.smartnet-myaccount-page #secondary,
body.smartnet-myaccount-page .widget-area,
body.smartnet-myaccount-page .site-sidebar,
body.smartnet-myaccount-page aside.sidebar {
    display: none !important;
}

body.smartnet-myaccount-page .woocommerce-MyAccount-content,
body.smartnet-myaccount-page #primary {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin-left: 0 !important;
}

body.smartnet-myaccount-page .woocommerce,
body.smartnet-myaccount-page .woocommerce-page .woocommerce,
body.smartnet-myaccount-page .woocommerce-account .woocommerce {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    flex-direction: unset !important;
    grid-template-columns: unset !important;
}

/* ─── SHELL ─── */
body.smartnet-myaccount-page .smartnet-account-shell {
    display: block !important;
    width: 100% !important;
    min-height: calc(100vh - 71px) !important;
    background: #0a0a0a !important;
    position: relative !important;
}


/* ══════════════════════════════════════════════
   MAIN CONTENT — full width, no sidebar
   ══════════════════════════════════════════════ */
.smartnet-account-main {
    margin-left: 0;
    width: 100%;
    min-height: calc(100vh - 71px);
    padding: 32px 24px;
    background: #0a0a0a;
}

.smartnet-dashboard {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

@media (max-width: 600px) {
    .smartnet-account-main {
        padding: 20px 12px 80px;
    }
}


/* ══════════════════════════════════════════════
   WC NAVIGATION — Slide-out sidebar (hidden by default)
   ══════════════════════════════════════════════ */

/* Trigger strip — always visible on left edge */
.smartnet-nav-trigger {
    position: fixed;
    top: 71px;
    left: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    border: 1px solid #222;
    border-left: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    z-index: 10000;
    margin-top: 16px;
    transition: background 0.2s, transform 0.2s;
}

.smartnet-nav-trigger:hover {
    background: #1a1a1a;
    transform: scale(1.05);
}

.smartnet-nav-trigger__icon {
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.smartnet-nav-trigger:hover .smartnet-nav-trigger__icon {
    color: #22c55e;
}

/* Hide trigger when nav is open */
.smartnet-account-shell.nav-open .smartnet-nav-trigger {
    opacity: 0;
    pointer-events: none;
}

/* Overlay */
.smartnet-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.smartnet-account-shell.nav-open .smartnet-nav-overlay {
    opacity: 1;
    visibility: visible;
}

/* Navigation Rail — slide-out */
.smartnet-account-shell .smartnet-rail {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 71px;
    left: 0;
    width: 56px;
    height: calc(100vh - 71px);
    background: #0d0d0d;
    border-right: 1px solid #1a1a1a;
    z-index: 10002;
    padding: 12px 0;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
}

.smartnet-account-shell.nav-open .smartnet-rail {
    transform: translateX(0);
}

/* Expand on hover when already open */
.smartnet-account-shell.nav-open .smartnet-rail:hover {
    width: 220px;
}

/* Rail top / logo */
.smartnet-rail__top {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0 12px;
}

.smartnet-rail__logo {
    text-decoration: none;
}

.smartnet-rail__logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #22c55e;
    color: #000;
    font-size: 14px;
    font-weight: 900;
}

/* Nav section */
.smartnet-rail__nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 6px;
}

/* Nav items */
.smartnet-rail__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #888;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
    overflow: hidden;
}

.smartnet-rail__item:hover {
    background: #1a1a1a;
    color: #e5e5e5;
}

.smartnet-rail__item.is-active,
.smartnet-rail__item.active {
    background: #162312;
    color: #22c55e;
}

.smartnet-rail__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    width: 20px;
    height: 20px;
}

.smartnet-rail__icon svg {
    width: 18px;
    height: 18px;
}

/* Tooltip label — hidden when rail is narrow, visible when expanded */
.smartnet-rail__tooltip {
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.smartnet-account-shell.nav-open .smartnet-rail:hover .smartnet-rail__tooltip {
    opacity: 1;
}

/* Divider */
.smartnet-rail__divider {
    display: block;
    height: 1px;
    background: #1a1a1a;
    margin: 8px 12px;
}

/* Bottom section (avatar + logout) */
.smartnet-rail__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 6px;
    border-top: 1px solid #1a1a1a;
}

.smartnet-rail__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1f2937;
    border: 2px solid #22c55e;
    object-fit: cover;
}

.smartnet-rail__item--logout {
    color: #666;
}

.smartnet-rail__item--logout:hover {
    color: #ef4444;
    background: #1a1111;
}

/* Mobile bottom bar — keep hidden on desktop */
.smartnet-bottombar {
    display: none;
}

@media (max-width: 768px) {
    .smartnet-nav-trigger {
        display: none !important;
    }

    .smartnet-rail {
        display: none !important;
    }

    .smartnet-nav-overlay {
        display: none !important;
    }

    .smartnet-bottombar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: #0d0d0d;
        border-top: 1px solid #1a1a1a;
        z-index: 9999;
        align-items: center;
        justify-content: space-around;
        padding: 0 8px;
    }

    .smartnet-bottombar__tab {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        padding: 6px 8px;
        border-radius: 8px;
        color: #666;
        text-decoration: none;
        font-size: 10px;
        font-weight: 600;
        background: none;
        border: none;
        cursor: pointer;
        transition: color 0.15s;
    }

    .smartnet-bottombar__tab:hover,
    .smartnet-bottombar__tab.is-active {
        color: #22c55e;
    }

    .smartnet-bottombar__icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .smartnet-bottombar__icon svg {
        width: 18px;
        height: 18px;
    }

    .smartnet-bottombar__text {
        font-size: 10px;
    }
}


/* ══════════════════════════════════════════════
   LOGIN PAGE — WHITE CARD (centered on dark bg)
   Classes: .sn-login-wrap, .sn-login-card, etc.
   ══════════════════════════════════════════════ */
.sn-login-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 71px);
    padding: 40px 20px;
    background: #0a0a0a;
}

.sn-login-card {
    width: 100%;
    max-width: 400px;
    background: transparent;
    border: none;
    border-radius: 14px;
    padding: 36px 32px;
    box-shadow: none;
}

.sn-field {
    margin-bottom: 16px;
}

.sn-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #ccc;
    margin-bottom: 5px;
}

.sn-input {
    width: 100%;
    padding: 11px 13px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #555;
    border-radius: 0;
    color: #f5f5f5;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.sn-input:focus {
    border-bottom-color: #22c55e;
    box-shadow: none;
}

.sn-input::placeholder {
    color: #666;
}

.sn-field-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.sn-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #999;
    cursor: pointer;
}

.sn-checkbox input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #22c55e;
}

.sn-forgot {
    font-size: 13px;
    color: #22c55e;
    text-decoration: none;
    font-weight: 600;
}

.sn-forgot:hover {
    text-decoration: underline;
}

.sn-btn {
    display: block;
    width: 100%;
    padding: 12px 18px;
    background: #22c55e;
    border: none;
    border-radius: 8px;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
    text-align: center;
}

.sn-btn:hover {
    background: #1ea84e;
}

.sn-login-footer {
    text-align: center;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #333;
    font-size: 13px;
    color: #999;
}

.sn-login-footer a {
    color: #22c55e;
    font-weight: 700;
    text-decoration: none;
}

.sn-login-footer a:hover {
    text-decoration: underline;
}

.sn-login-social {
    margin-bottom: 14px;
}

.sn-login-divider {
    position: relative;
    text-align: center;
    margin: 18px 0;
}

.sn-login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #333;
}

.sn-login-divider span {
    position: relative;
    background: #0a0a0a;
    padding: 0 12px;
    font-size: 12px;
    color: #666;
    font-weight: 600;
}

.sn-info-box {
    padding: 11px 13px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    font-size: 13px;
    color: #166534;
    margin-bottom: 16px;
}

.ajax-msg {
    display: none;
    padding: 11px 13px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 14px;
}

.ajax-msg.wc-success {
    display: block;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.ajax-msg.wc-error {
    display: block;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.sn-login-card .woocommerce-error {
    padding: 11px 13px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 18px;
    list-style: none;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    position: relative;
    z-index: 1;
    clear: both;
    overflow: hidden;
    padding-left: 13px;
    margin-left: 0;
}

.sn-login-card .woocommerce-error::before,
.sn-login-card .woocommerce-error::after {
    display: none !important;
    content: none !important;
}

.sn-login-card .woocommerce-error a,
.sn-login-wrap .woocommerce-error a {
    color: #dc2626 !important;
    font-weight: 700;
    text-decoration: underline;
}

.sn-login-card .woocommerce-error li {
    margin-bottom: 0;
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.sn-login-card .woocommerce-error li::before {
    display: none !important;
    content: none !important;
}

.sn-login-card .woocommerce-notices-wrapper {
    margin-bottom: 16px;
}

.sn-login-card .woocommerce-notices-wrapper:empty {
    display: none;
    margin: 0;
}

/* Ensure social login section doesn't overlap error */
.sn-login-card .sn-login-social {
    position: relative;
    z-index: 0;
    clear: both;
}

/* Fix Nextend Social Login overlap */
.sn-login-card [id*="nsl"],
.sn-login-card [class*="nsl"] {
    position: relative !important;
    margin-top: 0 !important;
    transform: none !important;
}

.sn-login-card .woocommerce-message {
    padding: 11px 13px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 14px;
    list-style: none;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

@media (max-width: 480px) {
    .sn-login-card {
        padding: 28px 22px;
        border-radius: 12px;
    }

    .sn-login-wrap {
        padding: 20px 12px;
    }
}


/* ══════════════════════════════════════════════
   DASHBOARD — Page head, Stats, Widgets
   ══════════════════════════════════════════════ */

/* Page head */
.smartnet-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.smartnet-page-head__user {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1 1 auto;
    min-width: 0;
}

.smartnet-page-head__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #1f2937;
    border: 2px solid #22c55e;
    flex-shrink: 0;
    object-fit: cover;
}

.smartnet-page-head__user>div {
    flex: 1 1 auto;
    min-width: 0;
}

.smartnet-page-head span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.smartnet-page-head h1 {
    font-size: 24px;
    font-weight: 700;
    color: #f5f5f5;
    margin: 0;
    line-height: 1.4;
    letter-spacing: 1px !important;
    word-spacing: normal !important;
    text-transform: none !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-stretch: normal !important;
    -webkit-text-size-adjust: 100% !important;
    transform: none !important;
    width: auto !important;
    max-width: none !important;
    overflow: visible !important;
    white-space: nowrap !important;
}

.smartnet-page-head p {
    font-size: 14px;
    color: #666;
    margin: 5px 0 0;
}

/* Stats */
.smartnet-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.smartnet-stat-widget {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 16px;
    background: #111;
    border: 1px solid #1a1a1a;
    border-radius: 10px;
    text-decoration: none;
    transition: border-color 0.15s;
}

.smartnet-stat-widget:hover {
    border-color: #2a2a2a;
}

.smartnet-stat-widget span {
    font-size: 11px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.smartnet-stat-widget strong {
    font-size: 22px;
    font-weight: 800;
    color: #f5f5f5;
    line-height: 1.1;
}

.smartnet-stat-widget small {
    font-size: 12px;
    color: #555;
}

/* Widget grid */
.smartnet-widget-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}

.smartnet-widget-large {
    grid-column: 1 / -1;
}

.smartnet-widget {
    background: #111;
    border: 1px solid #1a1a1a;
    border-radius: 10px;
    padding: 20px;
}

.smartnet-widget-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.smartnet-widget-head span {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 2px;
}

.smartnet-widget-head h2 {
    font-size: 15px;
    font-weight: 700;
    color: #e5e5e5;
    margin: 0;
}

.smartnet-widget-head a {
    padding: 5px 10px;
    border-radius: 5px;
    background: #1a1a1a;
    border: 1px solid #222;
    color: #999;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.12s;
}

.smartnet-widget-head a:hover {
    background: #222;
    color: #ddd;
}

/* Action list */
.smartnet-action-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.smartnet-action-list a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 11px 13px;
    border-radius: 8px;
    background: #0d0d0d;
    border: 1px solid #1a1a1a;
    text-decoration: none;
    transition: border-color 0.12s;
}

.smartnet-action-list a:hover {
    border-color: #2a2a2a;
}

.smartnet-action-list a strong {
    font-size: 13px;
    font-weight: 700;
    color: #e5e5e5;
}

.smartnet-action-list a span {
    font-size: 12px;
    color: #555;
}

/* Detail list */
.smartnet-detail-list {
    margin: 0;
    padding: 0;
}

.smartnet-detail-list div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #1a1a1a;
}

.smartnet-detail-list div:last-child {
    border-bottom: none;
}

.smartnet-detail-list dt {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
}

.smartnet-detail-list dd {
    font-size: 13px;
    font-weight: 600;
    color: #e5e5e5;
    margin: 0;
}

/* Download box */
.smartnet-download-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    background: #0d0d0d;
    border: 1px solid #1a1a1a;
}

.smartnet-download-box strong {
    font-size: 28px;
    font-weight: 800;
    color: #22c55e;
    line-height: 1;
}

.smartnet-download-box span {
    font-size: 13px;
    color: #666;
}

/* Reward preview */
.smartnet-dashboard-reward-preview {
    background: #101827 !important;
    border-color: #1f2937 !important;
}

.smartnet-reward-preview-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.smartnet-reward-preview-link>span {
    display: block;
    margin: 12px 0 0;
    color: #94a3b8;
    font-size: 12px;
    text-align: center;
    font-weight: 600;
}

/* Button */
.smartnet-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 7px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    color: #e5e5e5;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.12s;
}

.smartnet-button:hover {
    background: #222;
    color: #fff;
}

@media (max-width: 768px) {
    .smartnet-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .smartnet-widget-grid {
        grid-template-columns: 1fr;
    }
}


/* ══════════════════════════════════════════════
   MOBILE OVERFLOW PANEL
   ══════════════════════════════════════════════ */
.smartnet-overflow-panel {
    position: fixed;
    bottom: 68px;
    left: 8px;
    right: 8px;
    background: #111;
    border: 1px solid #1a1a1a;
    border-radius: 14px;
    padding: 12px;
    z-index: 10003;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.2s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.smartnet-overflow-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.12s;
}

.smartnet-overflow-item:hover {
    background: #1a1a1a;
    color: #fff;
}

.smartnet-overflow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    color: #666;
}

.smartnet-overflow-icon svg {
    width: 18px;
    height: 18px;
}

.smartnet-overflow-logout {
    border-top: 1px solid #1a1a1a;
    margin-top: 4px;
    padding-top: 14px;
    color: #888;
}

.smartnet-overflow-logout:hover {
    color: #ef4444;
}

/* ============================================
   SMARTNET DASHBOARD v12.0
   Visual polish + notice visibility fix
   ============================================ */

:root {
    --sn-bg-0: #060b12;
    --sn-bg-1: #0a121c;
    --sn-bg-2: #101a27;
    --sn-surface: #0d1622;
    --sn-surface-alt: #121f2e;
    --sn-stroke: #1f344a;
    --sn-text: #deecff;
    --sn-muted: #88a2bf;
    --sn-accent: #00e5a8;
    --sn-accent-2: #00b9ff;
    --sn-danger: #ff5d73;
}

body.smartnet-myaccount-page .smartnet-account-shell,
body.smartnet-myaccount-page .smartnet-account-main {
    background:
        radial-gradient(circle at 10% 0%, rgba(0, 185, 255, 0.15) 0, rgba(0, 185, 255, 0) 42%),
        radial-gradient(circle at 90% 10%, rgba(0, 229, 168, 0.12) 0, rgba(0, 229, 168, 0) 38%),
        linear-gradient(160deg, var(--sn-bg-0), var(--sn-bg-1) 45%, var(--sn-bg-2));
}

/* Message + logout notice visibility fix */
body.smartnet-myaccount-page .woocommerce-notices-wrapper {
    margin-bottom: 18px;
}

body.smartnet-myaccount-page .woocommerce-notices-wrapper .woocommerce-message,
body.smartnet-myaccount-page .woocommerce-notices-wrapper .woocommerce-error,
body.smartnet-myaccount-page .woocommerce-notices-wrapper .woocommerce-info {
    display: block;
    margin: 0 0 12px;
    padding: 13px 14px;
    border-radius: 12px;
    border: 1px solid var(--sn-stroke);
    background: rgba(15, 25, 38, 0.95);
    color: var(--sn-text);
    font-size: 13px;
    line-height: 1.45;
}

body.smartnet-myaccount-page .woocommerce-notices-wrapper .woocommerce-message {
    border-left: 3px solid var(--sn-accent);
}

body.smartnet-myaccount-page .woocommerce-notices-wrapper .woocommerce-error {
    border-left: 3px solid var(--sn-danger);
}

body.smartnet-myaccount-page .woocommerce-notices-wrapper .woocommerce-info {
    border-left: 3px solid var(--sn-accent-2);
}

body.smartnet-myaccount-page .woocommerce-notices-wrapper .button,
body.smartnet-myaccount-page .woocommerce-notices-wrapper .woocommerce-button,
body.smartnet-myaccount-page .woocommerce-notices-wrapper a.button {
    margin-left: 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: linear-gradient(140deg, var(--sn-accent), #5cffcf);
    color: #052416;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.45px;
    padding: 8px 13px;
    box-shadow: 0 0 0 1px rgba(0, 229, 168, 0.18), 0 8px 20px rgba(0, 229, 168, 0.22);
}

body.smartnet-myaccount-page .woocommerce-notices-wrapper .button:hover,
body.smartnet-myaccount-page .woocommerce-notices-wrapper .woocommerce-button:hover,
body.smartnet-myaccount-page .woocommerce-notices-wrapper a.button:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.smartnet-dashboard {
    animation: smartnetFadeIn 0.45s ease-out;
}

@keyframes smartnetFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.smartnet-page-head {
    position: relative;
    background: linear-gradient(135deg, rgba(11, 20, 32, 0.9), rgba(12, 31, 46, 0.88));
    border: 1px solid var(--sn-stroke);
    border-radius: 16px;
    padding: 18px 18px;
    overflow: hidden;
}

.smartnet-page-head::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0, 185, 255, 0.11), rgba(0, 229, 168, 0.03) 45%, transparent 70%);
    pointer-events: none;
}

.smartnet-page-head__user,
.smartnet-page-head__actions {
    position: relative;
    z-index: 1;
}

.smartnet-page-head__avatar {
    border: 2px solid var(--sn-accent);
    box-shadow: 0 0 0 3px rgba(0, 229, 168, 0.15);
}

.smartnet-page-head span {
    color: var(--sn-accent-2);
}

.smartnet-page-head h1 {
    color: #f4fbff;
    letter-spacing: 0.2px !important;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
}

.smartnet-page-head p {
    color: var(--sn-muted);
}

.smartnet-page-head__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.smartnet-stat-widget,
.smartnet-widget {
    background: linear-gradient(165deg, rgba(11, 22, 35, 0.95), rgba(9, 18, 29, 0.93));
    border: 1px solid var(--sn-stroke);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
}

.smartnet-stat-widget:hover,
.smartnet-widget:hover {
    border-color: #2a4d70;
}

.smartnet-stat-widget span,
.smartnet-widget-head span,
.smartnet-detail-list dt,
.smartnet-download-box span,
.smartnet-action-list a span {
    color: var(--sn-muted);
}

.smartnet-stat-widget strong,
.smartnet-widget-head h2,
.smartnet-detail-list dd,
.smartnet-action-list a strong {
    color: var(--sn-text);
}

.smartnet-action-list a,
.smartnet-download-box {
    background: rgba(7, 15, 24, 0.9);
    border-color: #1b2f44;
}

.smartnet-download-box strong {
    color: var(--sn-accent);
    text-shadow: 0 0 10px rgba(0, 229, 168, 0.22);
}

.smartnet-dashboard-reward-preview {
    background: linear-gradient(135deg, rgba(9, 28, 24, 0.94), rgba(16, 47, 37, 0.9)) !important;
    border-color: #2d5f4e !important;
}

.smartnet-reward-preview-link>span {
    color: #9bc8b9;
}

.smartnet-dashboard-reward-preview .smartnet-widget-head a {
    background: linear-gradient(140deg, rgba(8, 34, 26, 0.94), rgba(13, 44, 34, 0.94));
    border-color: #2c5c4c;
    color: #b7e9d5;
}

.smartnet-dashboard-reward-preview .smartnet-widget-head a:hover {
    background: linear-gradient(140deg, rgba(12, 44, 34, 0.98), rgba(17, 58, 44, 0.98));
    border-color: #3f7d66;
    color: #d8ffee;
}

.smartnet-button {
    border-radius: 999px;
    border: 1px solid #2b4158;
    color: var(--sn-text);
    background: rgba(11, 21, 32, 0.85);
    font-weight: 700;
    padding: 10px 16px;
}

.smartnet-button:hover {
    background: rgba(13, 31, 47, 0.95);
}

.smartnet-page-head__actions .smartnet-button {
    min-height: 42px;
    min-width: 126px;
    justify-content: center;
    border-radius: 11px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 10px 24px rgba(0, 0, 0, 0.22);
}

.smartnet-button--primary {
    background: linear-gradient(140deg, var(--sn-accent), #5cffcf);
    border-color: rgba(111, 255, 214, 0.35);
    color: #041c12;
    box-shadow: 0 10px 24px rgba(0, 229, 168, 0.23);
}

.smartnet-button--primary:hover {
    color: #041c12;
    filter: brightness(1.05);
}

.smartnet-button--ghost {
    background: rgba(6, 17, 28, 0.85);
    color: #c7dff7;
}

.smartnet-button--ghost:hover {
    color: #ffffff;
}

.smartnet-button--danger {
    border-color: rgba(255, 93, 115, 0.45);
    background: linear-gradient(145deg, rgba(63, 19, 29, 0.95), rgba(40, 12, 18, 0.94));
    color: #ffd7de;
}

.smartnet-button--danger:hover {
    border-color: rgba(255, 93, 115, 0.65);
    background: linear-gradient(145deg, rgba(78, 24, 36, 0.98), rgba(53, 16, 24, 0.98));
    color: #ffe8ec;
}

/* Keep notices readable on login/register card as well */
.sn-login-card .woocommerce-message,
.sn-login-card .woocommerce-error,
.sn-login-card .woocommerce-info {
    color: #10283f;
}

.sn-login-card .woocommerce-message .button,
.sn-login-card .woocommerce-info .button {
    background: #0f172a;
    color: #e6f3ff;
    border-radius: 999px;
    border: 1px solid #294867;
    padding: 6px 11px;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .smartnet-page-head {
        padding: 16px;
    }

    .smartnet-page-head__actions {
        width: 100%;
    }

    .smartnet-page-head__actions .smartnet-button {
        flex: 1 1 auto;
        justify-content: center;
    }
}

@media (max-width: 768px) {

    body.smartnet-myaccount-page .woocommerce-notices-wrapper .button,
    body.smartnet-myaccount-page .woocommerce-notices-wrapper .woocommerce-button,
    body.smartnet-myaccount-page .woocommerce-notices-wrapper a.button {
        display: inline-flex;
        margin: 10px 0 0;
    }
}

/* ============================================
   SMARTNET NAV PREMIUM POLISH v12.1
   ============================================ */

.smartnet-nav-trigger {
    width: 40px;
    height: 40px;
    margin-top: 14px;
    border-radius: 0 10px 10px 0;
    border-color: #24384b;
    background: linear-gradient(145deg, rgba(9, 19, 31, 0.96), rgba(13, 27, 42, 0.95));
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.smartnet-nav-trigger:hover {
    background: linear-gradient(145deg, rgba(13, 29, 44, 0.98), rgba(18, 36, 54, 0.98));
}

.smartnet-account-shell .smartnet-rail {
    width: 62px;
    padding: 12px 0;
    border-right: 1px solid #27455f;
    background: linear-gradient(180deg, rgba(8, 16, 27, 0.98), rgba(7, 14, 23, 0.98));
    backdrop-filter: blur(8px);
    box-shadow: 10px 0 32px rgba(0, 0, 0, 0.33);
}

.smartnet-account-shell.nav-open .smartnet-rail:hover {
    width: 236px;
}

.smartnet-rail__top {
    padding-bottom: 14px;
}

.smartnet-rail__logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(145deg, #00e5a8, #6fffd8);
    box-shadow: 0 0 0 2px rgba(0, 229, 168, 0.2), 0 8px 20px rgba(0, 229, 168, 0.16);
}

.smartnet-rail__nav {
    gap: 4px;
    padding: 0 8px;
}

.smartnet-rail__item {
    min-height: 40px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #95aac2;
}

.smartnet-rail__item:hover {
    border-color: #2a4a66;
    background: rgba(15, 33, 49, 0.9);
    color: #deecff;
}

.smartnet-rail__item.is-active,
.smartnet-rail__item.active {
    border-color: #2f705f;
    background: linear-gradient(140deg, rgba(8, 47, 36, 0.94), rgba(10, 36, 30, 0.94));
    color: #8effd7;
    box-shadow: inset 0 0 0 1px rgba(142, 255, 215, 0.12);
}

.smartnet-rail__item.is-active .smartnet-rail__icon,
.smartnet-rail__item.active .smartnet-rail__icon {
    color: #8effd7;
}

.smartnet-rail__tooltip {
    font-size: 12px;
    letter-spacing: 0.2px;
}

.smartnet-rail__divider {
    background: linear-gradient(90deg, transparent, #2a4a66, transparent);
    margin: 10px 12px;
}

.smartnet-rail__bottom {
    border-top: 1px solid #223b52;
    padding: 12px 8px;
}

.smartnet-rail__avatar {
    width: 34px;
    height: 34px;
    border-color: #00e5a8;
    box-shadow: 0 0 0 2px rgba(0, 229, 168, 0.15);
}

.smartnet-rail__item--logout {
    color: #c59aa2;
}

.smartnet-rail__item--logout:hover {
    border-color: #6d3342;
    color: #ffd7de;
    background: rgba(58, 22, 30, 0.92);
}

@media (max-width: 768px) {
    .smartnet-bottombar {
        height: 64px;
        padding: 6px 8px 7px;
        background: rgba(8, 14, 24, 0.97);
        border-top: 1px solid #23415a;
        backdrop-filter: blur(9px);
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.34);
    }

    .smartnet-bottombar__tab {
        flex: 1 1 0;
        min-width: 0;
        min-height: 50px;
        border-radius: 11px;
        border: 1px solid transparent;
        color: #8aa2bc;
    }

    .smartnet-bottombar__tab:hover,
    .smartnet-bottombar__tab.is-active,
    .smartnet-bottombar__tab.active {
        color: #9effdd;
        border-color: #2a5a49;
        background: linear-gradient(140deg, rgba(9, 39, 31, 0.92), rgba(11, 31, 27, 0.92));
    }

    .smartnet-bottombar__icon svg {
        width: 17px;
        height: 17px;
    }

    .smartnet-bottombar__text {
        font-size: 10px;
        font-weight: 700;
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .smartnet-page-head__actions .smartnet-button {
        min-height: 40px;
        min-width: 0;
        width: calc(50% - 5px);
        font-size: 11px;
        padding: 8px 10px;
    }

    .smartnet-page-head__actions .smartnet-button--danger {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .smartnet-page-head__actions {
        gap: 8px;
    }

    .smartnet-page-head__actions .smartnet-button {
        width: 100%;
    }
}