/*Quiz Results*/
#wpProQuiz_user_overlay {
	z-index:2;
}
.wpProQuiz_modal_window {
	top:110px!important;
}
.wpProQuiz_modal_window .button-primary {
	top:128px!important;
}
/*Star Points*/
.spar-rewards-dashboard .spar-tabs-content {
	border:none!important;
}
.spar-rewards-dashboard .spar-tab-nav {
	border-radius:0!important;
}
/*FoxyFix*/
@media screen and (min-width: 770px) {
  .woocommerce-MyAccount-navigation {
    width: 20%!important;
    text-align:left;
  }
  .woocommerce-MyAccount-content {
    width:75%!important;
  }
}
.woocommerce::after, .woocommerce::before {
  content: " ";
  display: table;
}
.woocommerce::after {
  clear: both;
}
.woocommerce-MyAccount-navigation {
	float:left;
    width:100%;
  	margin-bottom:30px;
}
.woocommerce-MyAccount-content {
	float: right;
  	width:100%;
}
h3.nsl-heading {
	text-align:center;
	margin-top:2em;
}

/* Clean, modern My Account layout */
/* Adapted from https://wordpress.org/plugins/naimur-edit-my-account-page-for-woocommerce */

.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .one-container .container, .separate-containers .paging-navigation, .inside-page-header {
    background-color: #F1F4F9;
}
body {
	background-color: #F1F4F9;
    background-color: #fff!important;
}
/*Make Dashboard Navigation Sticky on big screens - 770px and up*/
@media screen and (min-width: 770px) {
	.woocommerce-MyAccount-navigation {
  		position: sticky;
  		top: 70px;
  		z-index: 1;
	}
}
.woocommerce-account .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-start;
    /*margin-top: 32px;*/
}

/* Sidebar Card */
.woocommerce-MyAccount-navigation {
    flex: 0 0 260px;
    max-width: 260px;
    /*background: linear-gradient(150deg, #4f46e5, #6366f1);*/
    background: linear-gradient(150deg, #0F1536, #6366f1);
    border-radius: 8px;
    padding: 8px 8px;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.35);
    color: #e5e7eb;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top:none;
}

/* Remove theme borders */
.woocommerce-MyAccount-navigation li {
    margin: 0;
    border: 0 !important;
    border-bottom: 0 !important;
}

/* Full-width clickable item (radius 8px) */
.woocommerce-MyAccount-navigation li a {
    display: flex !important;
    align-items: center !important;              /* icon + text vertically center */
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    padding: 10px 14px !important;
    padding-left: 20px !important;               /* extra left padding */
    border-radius: 8px !important;
    /*background: rgba(15, 23, 42, 0.16) !important;*/
    background: rgba(15, 23, 42, 0.4) !important;
    color: #ffffff !important;                   /* base text white */
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    border: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    transition: background 0.18s ease, transform 0.18s ease,
                box-shadow 0.18s ease, color 0.18s ease !important;
}

/* Icon – small circle at left */
.woocommerce-MyAccount-navigation li a::before {
    font-family: "dashicons" !important;
    font-size: 16px !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    opacity: 0.95 !important;
    margin: 0 !important;
    background: rgba(15, 23, 42, 0.20) !important;
    color: #ffffff !important;
}

.woocommerce-MyAccount-navigation li.is-active a::after {
	font-family: "dashicons" !important;
	content: '\f345'!important;
}
/* Icons */
.woocommerce-MyAccount-navigation-link--dashboard a::before {
    content: "\f226";
}
.woocommerce-MyAccount-navigation-link--orders a::before {
    content: "\f174";
}
.woocommerce-MyAccount-navigation-link--edit-address a::before {
    content: "\f230";
}
.woocommerce-MyAccount-navigation-link--edit-account a::before {
    content: "\f110";
}
.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    content: "\f310";
}
.woocommerce-MyAccount-navigation-link--payment-methods a::before {
    content: "\f18e";
}
.woocommerce-MyAccount-navigation-link--rewards a::before {
    content: "\f155";
}
.woocommerce-MyAccount-navigation-link--support-tickets a::before {
    content: "\f468";
}
.woocommerce-MyAccount-navigation-link--exemption-certificates a::before {
    content: "\f327";
}
.woocommerce-MyAccount-navigation-link--modules a::before {
    content: "\f118";
}
.woocommerce-MyAccount-navigation-link--certs a::before {
    content: "\f313";
}
.woocommerce-MyAccount-navigation-link--transcript a::before {
    content: "\f491";
}
.woocommerce-MyAccount-navigation-link--comments a::before {
    content: "\f101";
}
.woocommerce-MyAccount-navigation-link--groups a::before {
    content: "\f307";
}
.woocommerce-MyAccount-navigation-link--reviews a::before {
    content: "\f459";
}
.woocommerce-MyAccount-navigation-link--manage a::before {
    content: "\f307";
}
.woocommerce-MyAccount-navigation-link--group-license a::before {
    content: "\f174";
}
.woocommerce-MyAccount-navigation-link--verify a::before {
    content: "\f15e";
}
.woocommerce-MyAccount-navigation-link--group-faq a::before {
    content: "\f223";
}

/* Right arrow – hidden by default, visible on hover + active (forced) */
.woocommerce-MyAccount-navigation li a::after {
    content: "›";
    font-size: 14px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 999px !important;
    background: transparent !important;
    opacity: 0 !important;
    transform: translateX(-4px) !important;
    transition: opacity 0.18s ease, transform 0.18s ease !important;
}

/* Hover – item lighter, text + icon stay white, arrow fades in slightly */
.woocommerce-MyAccount-navigation li a:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    transform: translateY(-1px) !important;
    color: #ffffff !important;
}
.woocommerce-MyAccount-navigation li a:hover::before {
    background: rgba(15, 23, 42, 0.28) !important;
    color: #ffffff !important;
}
.woocommerce-MyAccount-navigation li a:hover::after {
    opacity: 0.6 !important;
    transform: translateX(0) !important;
}

/* Active item – white pill like reference design; arrow always visible */
.woocommerce-MyAccount-navigation li.is-active a {
    background: #ffffff !important;
    color: #111827 !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.45) !important;
}
.woocommerce-MyAccount-navigation li.is-active a::before {
    background: #e0e7ff !important;
    color: #111827 !important;
}
.woocommerce-MyAccount-navigation li.is-active a::after {
    background: transparent !important;
    color: #111827 !important;
    opacity: 0.9 !important;
    transform: translateX(0) !important;
}

/* Content card */
.woocommerce-MyAccount-content {
    flex: 1 1 0;
    min-width: 0;
    background: #ffffff;
    border-radius: 8px;
    padding: 26px 24px 30px;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.12);
    position: relative;
    overflow: hidden;
	margin-bottom:4em;
}

.woocommerce-MyAccount-content::before {
    content: '';
    position: absolute;
    inset: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #14b8a6, #f97316);
    opacity: 0.5;
}

.woocommerce-MyAccount-content > * {
    position: relative;
    z-index: 1;
    margin-top: 4px;
}

/* Notices */
/*.woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-error {
    border-radius: 12px;
    border: none;
    background: #eef2ff;
    color: #1f2937;
    padding: 14px 16px;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.woocommerce-MyAccount-content .woocommerce-info .button,
.woocommerce-MyAccount-content .woocommerce-message .button {
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
}
*/
/* Forms */
.woocommerce-MyAccount-content form .form-row input.input-text,
.woocommerce-MyAccount-content form .form-row select,
.woocommerce-MyAccount-content form .form-row textarea {
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    font-size: 14px;
    /*transition: border-color 0.15s ease;
	box-shadow: 0.15s.ease;*/
}

.woocommerce-MyAccount-content form .form-row input.input-text:focus,
.woocommerce-MyAccount-content form .form-row select:focus,
.woocommerce-MyAccount-content form .form-row textarea:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.25);
    outline: none;
}

/* Buttons */
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content button,
.woocommerce-MyAccount-content .woocommerce-button {
    border-radius: 999px !important;
    padding: 9px 20px !important;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
    }

    .woocommerce-MyAccount-navigation {
        position: static;
        max-width: 100%;
        width: 100%;
        margin-bottom: 4px;
    }
}

@media (max-width: 640px) {
    .woocommerce-MyAccount-navigation {
        padding: 18px 14px;
        border-radius: 18px;
    }

    .woocommerce-MyAccount-navigation li a {
        font-size: 13px;
        padding: 8px 10px;
    }

    .woocommerce-MyAccount-content {
        padding: 20px 16px 22px;
        border-radius: 18px;
    }
}
