/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

:root {
    --gradient-color: linear-gradient(45deg, #3815f0 , #9c39cf 50%, #3562e4 100%);
    --badge-padding-y: 0.25rem;
    --badge-padding-x: 0.6rem;
    --badge-radius: 999px;
    --badge-font-size: 0.75rem; /* 12px */
    --badge-gap: 0.4rem;
    --shadow: 0 6px 14px rgba(15,23,42,0.06);
    --dokan-sidebar-background-color: #2c3e50;
    --dokan-sidebar-border-color: #e5e5e5;
    --dokan-sidebar-active-color: #e73435;
    --dokan-sidebar-hover-color: #f44336;
    --dokan-sidebar-text-color: #111;     
}

.nav>li.header-divider {
    border-left: 1px solid #cdcdcd;
    height: 30px;
    margin: 0 7.5px;
    position: relative;
    vertical-align: middle;
}

/* container */
.badges {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 10;
}

/* base badge */
.badge_button {
  display: inline-flex;
  align-items: center;
  gap: var(--badge-gap);
  padding: var(--badge-padding-y) var(--badge-padding-x);
  border-radius: var(--badge-radius);
  font-size: var(--badge-font-size);
  font-weight: 600;
  line-height: 1;
  box-shadow: var(--shadow);
  color: white;
  user-select: none;
  white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
  cursor: default;
}

/* small icon in badge */
.badge__icon{
  width: 0.95em;
  height: 0.95em;
  display: inline-block;
  flex-shrink: 0;
  fill: currentColor; /* matches text color */
  opacity: 0.95;
}

/* hover / focus effect for interactive feel (accessible) */
.badge:focus,
.badge:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(15,23,42,0.12);
  outline: none;
}

/* variants */
.badge--hot{
  background: linear-gradient(180deg,#ff5a57,#e63939);
  color: #fff;
}

.badge--new{
  background: linear-gradient(180deg,#2dd4bf,#059669);
  color: #fff;
}

.badge--sale{
  background: linear-gradient(180deg,#ffb86b,#ff7a18);
  color: #111; /* darker text for contrast */
  filter: saturate(1.02);
}

.badge--sold{
  background: linear-gradient(180deg,#6b7280,#374151);
  color: #fff;
  opacity: 0.95;
}

/* outline / subtle variant (optional) */
.badge--outline{
  background: transparent;
  color: var(--accent, #111);
  border: 1px solid currentColor;
  box-shadow: none;
}

/* responsive tweak: slightly larger on bigger screens */
@media (min-width: 768px){
  :root{ --badge-font-size: 0.8rem; --badge-padding-x: 0.75rem; }
}


.label-new.menu-item > a:after {
    content: "New";
}

.label-new.menu-item>a:after {
    background: var(--gradient-color);
}

.label-hot.menu-item > a:after {
    content: "Hot";
}
.label-hot.menu-item>a:after {
    background-color: var(--fs-color-alert);
}

.tdk-product-loop-custom-product-meta {
    margin-bottom: 15px;
}

.tdk-product-loop-custom-product-meta i {
    margin-right: 5px;
}

.tdk-product-loop-custom-product-meta .last-updated-date {
    background: #e67e22;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    column-gap: 5px;
}

.tdk-product-loop-custom-product-meta .version {
    background: #0084ff;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    column-gap: 5px;
}

.product-box-border .box,
.related-products-wrapper .box,
.tax-product_cat .box {
    border: solid 1px #E5E5E5;
    border-radius: 0.5rem;
}

.product-box-border .box:hover,
.related-products-wrapper .box:hover,
.tax-product_cat .box:hover {
    border: solid 1px #e73435;
}

.product-box-border .box .box-image,
.related-products-wrapper .box .box-image,
.tax-product_cat .box .box-image {
    border-radius: 0.5rem 0.5rem 0 0;
}

.product-box-border .box .box-text,
.related-products-wrapper .box .box-text,
.tax-product_cat .box .box-text {
    text-align: center;
    padding: 15px;
    border-radius: 0 0 0.5rem 0.5rem;
}

/***********Product Summary************/

.product-detailed {
  padding: 15px 0;
  list-style-type: none;
  margin: 0 0 1.5rem 0 !important;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
}

.product-detailed .col {
  padding-bottom: 0 !important;
  border-right: 1px solid #e5e5e5;
}

.product-detailed .col:last-child {
  border-right: none;
}

.product-detailed strong {
    display: block;
    margin: 0 0 10px 0;
    text-align: center;
    font-size: 12px;
}

.product-detailed .label {
  float: left;
  width: 50%;
  text-align: left;
  font-size: 12px;
}

.product-detailed .value {
  text-align: right;
  font-size: 12px;
  background-color: gray;
  padding: 3px 10px;
  color: #fff;
  border-radius: 3px;
  min-width: 110px;
  text-align: center;
  display: block;
}

.product-detailed .value i {
  margin-right: 5px;
}

.product-detailed .value:hover {
  background-color: #e73435;
}

.product-detailed a,
.product-detailed a:hover {
  color: #fff;
}

.gray {
  background-color: gray !important;
  color: #ffffff !important;
}

.accordion-title {
    border-top: 1px solid #ddd;
    display: block;
    padding: .6em 2.3em;
    background: whitesmoke;
    position: relative;
    border-radius: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    border: 1px solid #dfdfdf;
}

.grecaptcha-badge {
  display: none;
}

aside#block_widget-2 p {
    margin: 0px;
    font-size: 12px;
}

.icon-box-text p {
    margin-bottom: 0px !important;
}

.icon-box-left.text-left {
    align-items: center;
}

.section-title-normal span {
    border-bottom: 2px solid currentColor;
    margin-bottom: -2px;
    margin-right: 15px;
    padding-bottom: 7.5px;
}

.wapf-checkable {
    display: block;
    margin-bottom: 15px;
}

.button, button, input[type=button], input[type=reset], input[type=submit] {
    border-radius: 4px;
}

.wapf--inner {
    font-size: 14px !important;
}

span.wapf-product-total {
    font-size: 16px;
}

.wapf--inner > div:not(:last-child) {
    border-bottom: 1px dashed #e4e4e4;
    padding-bottom: 0px !important;
}

.wapf--inner > div {
    line-height: 20px !important;
    display: flex;
    justify-content: space-between;
}

.wapf-product-totals .wapf--inner {
    padding: 20px 11px;
    background: #fffaf2;
    border: 1px solid #fae8cc;
    border-radius: 8px;
}

.wapf-product-totals .wapf--inner> div > span {
    padding: 10px 0px !important;
    margin: 0px !important;
}

.wapf-product-totals div span:last-child {
    float: none;
    flex: 1;
    display: inline-block;
    text-align: right;
    font-size: 16px;
}
.header-top,
.header-main, 
.header-bottom {
    border-bottom: 1px solid #cdcdcd;
}

.comment-form-rating a[role="radio"] {
  font-size: 0 !important;
}

.comment-form-rating a[role="radio"]::after {
  font-size: 16px !important;
}

.stars a {
  margin: 0px;
  margin-right: 5px;
}

.star-rating span:before {
    color: #f1c40f;
}

ol.commentlist > li {
    font-size: 90%;
    border-bottom: 1px solid #cdcdcd;
}

.comment-list li .avatar, .commentlist li .avatar {
    border-radius: 100%;
    width: 40px;
}

.stars a+a {
    border-left: 1px solid #ececec;
    margin-left: 0px;
    padding-left: 5px;
}

.searchform-wrapper.form-flat input:not([type=submit]), 
.searchform-wrapper.form-flat select, .form-flat textarea {
    background-color: unset;
    border-color: unset;
    border-radius: unset;
    box-shadow: unset;
    border: unset;
    color: currentColor !important;
}

.searchform-wrapper.form-flat {
    border: 1px solid #cdcdcd;
    padding: 4px 8px;
    border-radius: 99px;
}

.flex-col.search-form-categories {
    border-right: 1px solid #cdcdcd;
}

.rounded-lg {
    border-radius: 15px;
}

.overflow-hidden {
    overflow: hidden;
}

button.ux-search-submit svg {
    width: 22px;
    height: 22px;
}

.searchform .button.icon {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-gradient {
  color: #3815f0;
  background-image: linear-gradient(45deg, #3815f0 , #9c39cf 50%, #3562e4 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.pricing-table .title {
    border-bottom: 1px solid #ececec;
    padding: 1.25em 15%;
}


/* Extend vendor css */

.dokan-dashboard input {
    margin-bottom: 0px !important;
}

.select2-container--open .select2-dropdown--below {
    margin-top: 0px !important;
}

.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active:after {
    left: unset;
    top: 1.3rem;
    border: transparent solid;
    content: ' ';
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: transparent #fff transparent transparent;
    border-left-color: #fff;
    border-width: 16px 16px 16px 0;
    margin-top: -16px;
    right: 0px;
}

.dokan-dashboard-wrap {
    min-height: 100vh;
}

.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active {
    position: relative;
    background: #34495e;
}

.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li a {
    display: flex;
}

.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li a .menu-dropdown{
    margin-left: auto;
}

li.dokan-common-links.dokan-clearfix {
    position: absolute !important;
    bottom: 0;
    flex: 1;
    width: 100%;
}

ul.dokan-dashboard-menu {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: sticky;
    min-height: 100vh;
    top: 0;
}

div#dokan-navigation {
    position: sticky;
    top: 0;
}

.wp-switch-editor {
    float: left;
    box-sizing: content-box;
    position: relative;
    top: 1px;
    background: #f0f0f1;
    color: #646970;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.46153846;
    height: auto !important;
    margin: 5px 0 0 5px;
    padding: 3px 8px 4px;
    border: 1px solid #dcdcde;
}

.product-edit-container .dokan-feat-image-upload img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    margin: auto;
}

.product-edit-new-container .wp-editor-wrap {
    border: unset !important;
}

table.dokan-table tr {
    border-bottom: 1px solid #e3e3e3;
    padding-bottom: 15px;
}

table.dokan-table tbody tr td {
    padding: 10px !important;
}

#billing_country_field, #shipping_country_field {
    order: 4;
    display: none;
}

.product-edit-container .dokan-feat-image-upload .image-wrap:hover a.close {
    display: flex;
    height: 285px !important;
    align-items: center;
    justify-content: center;
}

.featured-image .image-wrap {
    height: 285px;
}

.product-meta-counters {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    column-gap: 15px;
}

.product-meta-counters span {
    display: inline-flex;
    padding: 3px 4px;
    background: whitesmoke;
    border-radius: 8px;
    align-items: center;
    column-gap: 4px;
    font-size: 10px;
    border: 1px solid #e1e1e1;
}

img.cart-img-icon {
    max-width: 23px;
    opacity: .85;
}

.badge-inner.secondary.on-sale {
    background: red;
    font-size: 12px;
}

.callout.badge.badge-circle {
    height: 30px;
    width: 30px;
}

span.amount {
    color: #e74c3c;
    font-weight: 700;
    white-space: nowrap;
}

del span.amount {
    font-weight: 400;
    margin-right: .3em;
    opacity: .6;
    font-size: 80%;
    color: #333;
}

h2.widget-title {
    font-size: 16px;
    font-weight: 700;
    border-bottom: 1px solid #cdcdcd;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

ul.product_list_widget .product-title {
    font-size: 14px;
}

h2.widget-title:after {
    content: "";
    width: 120px;
    height: 1px;
    background: red;
    display: block;
    position: absolute;
    bottom: -1px;
    left: 0;
}

ul.product_list_widget span.woocommerce-Price-amount.amount {
    font-size: 14px;
}

.woocommerce-billing-fields__field-wrapper .form-row, 
.woocommerce-shipping-fields__field-wrapper .form-row {
    float: none;
    width: calc(50% - 11px);
    margin-right: 0px !important;
}

#billing_phone_field, #shipping_phone_field {
    order: 4;
}

#billing_email_field, #shipping_email_field {
    order: 3;
}

#billing_address_1_field, #shipping_address_1_field {
    order: 7;
    width: 100%;
}

.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper {
    column-gap: 22px;
}

p#order_comments_field {
    width: 100%;
}


/* Bronze Member */
.account-link.bronze .image-icon {
  border: 2px solid #cd7f32;
}

/* Silver Member */
.account-link.silver .image-icon {
  border: 2px solid #b0b0b0;
}

/* Golden Member */
.account-link.golden .image-icon {
  border: 2px solid #f59e0b;
}


.account-link i.image-icon.circle {
    width: 40px;
    height: 40px;
    padding: 1px;
}
/* User Profile Card Styles */
.user-profile-card {
    padding: 0px 0px 15px 0px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
}

.user-avatar {
    flex-shrink: 0;
    position: relative;
}

.user-avatar .avatar-img {
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px;
    border: 2px solid #f1f5f9;
    display: block;
    object-fit: cover;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-greeting {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    margin: 0 0 2px 0;
    line-height: 1.2;
}

.user-name {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-membership {
    margin: 0;
}

.membership-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 7px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    border: 1px solid;
    position: relative;
}

/* Membership Badge Colors */
.membership-badge.golden {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #ffffff;
    border-color: #f59e0b;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.2);
}

.membership-badge.silver {
    background: linear-gradient(135deg, #e5e7eb 0%, #9ca3af 100%);
    color: #374151;
    border-color: #9ca3af;
    box-shadow: 0 2px 4px rgba(156, 163, 175, 0.2);
}

.membership-badge.bronze {
    background: linear-gradient(135deg, #d97706 0%, #92400e 100%);
    color: #ffffff;
    border-color: #92400e;
    box-shadow: 0 2px 4px rgba(146, 64, 14, 0.2);
}

.membership-badge.free {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #475569;
    border-color: #cbd5e1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Account Link Colors */
.account-link.golden {
    color: #f59e0b !important;
}

.account-link.silver {
    color: #6b7280 !important;
}

.account-link.bronze {
    color: #d97706 !important;
}

/* Dropdown User Styling */

.nav-dropdown .account-link {
    padding: 12px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    transition: all 0.15s ease !important;
    border-bottom: 1px solid #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

.nav-dropdown .account-link:hover {
    background: #f8fafc !important;
    color: #0f172a !important;
    padding-left: 24px !important;
}

.nav-dropdown .account-link:last-child {
    border-bottom: none !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .user-profile-card {
        padding: 16px;
        min-width: 260px;
    }
    
    .user-avatar .avatar-img {
        width: 40px !important;
        height: 40px !important;
    }
    
    .user-name {
        font-size: 15px;
    }
    
    .membership-badge {
        font-size: 10px;
        padding: 3px 6px;
    }
}

/* VIP Downloads Table Styles */
.download-status {
    margin: 20px 0 15px 0;
}

.download-remaining-product {
    display: flex;
    align-items: center;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 0;
    font-size: 14px;
    color: #0c4a6e;
    font-weight: 500;
}

dt.variation-Vendor {
    display: none;
}

.product:hover .tooltip {
    visibility: visible !important;
    opacity: 1 !important;
}

span.wlr-product-message {
    background: red;
    color: white;
    font-size: 12px;
    border-radius: 0px !important;
    width: 100%;
    padding: 2px 5px !important;
}

.off-canvas-left .mfp-content, .off-canvas-right .mfp-content {
    background-color: #fff;
}

.checkout .has-border {
    border: 1px solid #cdcdcd;
    padding: 30px;
}

.download-remaining-product svg {
    color: #0284c7;
    margin-right: 8px;
    flex-shrink: 0;
}

.download-remaining-product strong {
    color: #0c4a6e;
    font-weight: 700;
}

.vip-downloads-table {
    margin-top: 15px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    font-size: 14px;
}

.download-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.download-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
}

.download-count {
    font-size: 12px;
    color: #64748b;
    background: #e2e8f0;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.download-table {
    padding: 0;
}

.download-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.15s ease;
}

.download-row:last-child {
    border-bottom: none;
}

.download-row:hover {
    background: #f8fafc;
}

.download-info {
    flex: 1;
    min-width: 0;
}

.download-name {
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
}

.download-meta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.file-type {
    display: inline-flex;
    align-items: center;
    background: #dbeafe;
    color: #1e40af;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.file-size {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    background: #059669;
    color: #ffffff;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    padding: 2px 5px;
}

.download-btn:hover {
    background: #047857;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(5, 150, 105, 0.3);
    color: #ffffff;
}

.download-btn svg {
    width: 16px;
    height: 16px;
}

/* Alternative file type colors */
.file-type.zip {
    background: #fef3c7;
    color: #92400e;
}

.file-type.pdf {
    background: #fee2e2;
    color: #dc2626;
}

.file-type.doc {
    background: #ede9fe;
    color: #7c3aed;
}

.file-type.img {
    background: #ecfdf5;
    color: #059669;
}

/* Mobile responsive for download table */
@media (max-width: 768px) {
    .download-header {
        padding: 12px 16px;
    }
    
    .download-title {
        font-size: 15px;
    }
    
    .download-count {
        font-size: 11px;
        padding: 3px 6px;
    }
    
    .download-row {
        padding: 10px 16px;
    }
    
    .download-name {
        font-size: 13px;
    }
    
    .download-btn {
        width: 32px;
        height: 32px;
    }
    
    .download-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .file-type {
        font-size: 9px;
        padding: 2px 4px;
    }
    
    .file-size {
        font-size: 11px;
    }
}

/* Download Limit Reached Styles */
.download-limit-reached {
    margin-top: 15px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.limit-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.limit-message svg {
    color: #dc2626;
}

.limit-message h3 {
    margin: 0;
    color: #991b1b;
    font-size: 18px;
    font-weight: 600;
}

.limit-message p {
    margin: 0;
    color: #7f1d1d;
    font-size: 14px;
    line-height: 1.5;
}

/* Enhanced file type colors */
.file-type.rar {
    background: #fef3c7;
    color: #92400e;
}

.file-type.txt {
    background: #f1f5f9;
    color: #475569;
}

.file-type.jpg, .file-type.jpeg, .file-type.png, .file-type.gif {
    background: #ecfdf5;
    color: #059669;
}

.file-type.docx {
    background: #ede9fe;
    color: #7c3aed;
}

/* Download Handler Pages Styles */
.download-error-page,
.download-success-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.error-container,
.download-container {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.error-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
}

.error-icon-login {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.error-icon-login::before {
    content: "LOGIN";
    font-size: 12px;
    letter-spacing: 1px;
}

.error-icon-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.error-icon-warning::before {
    content: "!";
    font-size: 32px;
}

.error-icon-security {
    background: linear-gradient(135deg, #dc2626, #991b1b);
}

.error-icon-security::before {
    content: "SEC";
    font-size: 12px;
    letter-spacing: 1px;
}

.error-icon-access {
    background: linear-gradient(135deg, #dc2626, #991b1b);
}

.error-icon-access::before {
    content: "X";
    font-size: 24px;
}

.error-icon-membership {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.error-icon-membership::before {
    content: "VIP";
    font-size: 12px;
    letter-spacing: 1px;
}

.error-icon-limit {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.error-icon-limit::before {
    content: "0";
    font-size: 24px;
}

.error-icon-url {
    background: linear-gradient(135deg, #64748b, #475569);
}

.error-icon-url::before {
    content: "URL";
    font-size: 12px;
    letter-spacing: 1px;
}

.error-icon-file {
    background: linear-gradient(135deg, #64748b, #475569);
}

.error-icon-file::before {
    content: "FILE";
    font-size: 10px;
    letter-spacing: 1px;
}

.download-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #059669, #047857);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

.download-icon::before {
    content: "DOWN";
}

.error-container h2,
.download-container h1 {
    color: #0f172a;
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: 600;
}

.error-container p,
.download-container p {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.file-info {
    font-size: 16px !important;
    margin-bottom: 24px !important;
}

.download-stats {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 16px;
    margin: 24px 0;
}

.download-stats p {
    color: #0c4a6e !important;
    margin: 0 !important;
    font-size: 14px;
    font-weight: 500;
}

.fallback-info {
    font-size: 14px !important;
    margin-bottom: 24px !important;
}

.download-link {
    color: #059669;
    font-weight: 600;
    text-decoration: none;
}

.download-link:hover {
    color: #047857;
    text-decoration: underline;
}

.upgrade-tip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
}

.upgrade-tip p {
    color: #475569 !important;
    margin: 0 !important;
    font-size: 14px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.15s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #059669;
    color: #ffffff;
}

.btn-primary:hover {
    background: #047857;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(5, 150, 105, 0.3);
    color: #ffffff;
}

.btn-secondary {
    background: #6b7280;
    color: #ffffff;
}

.btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(107, 114, 128, 0.3);
    color: #ffffff;
}

.trp-shortcode-switcher {
    padding: 0px !important;
    border: unset;
}

.medium-nav-center li a {
    font-weight: 600;
}

span.membership_can_download {
    position: absolute;
    right: 5px;
    top: 30px;
    font-size: 12px;
    background: #ffa600;
    color: white;
    border-radius: 50px;
    padding: 2px 5px;
    display: flex;
    align-items: center;
    column-gap: 5px;
    z-index: 30;
}

/* Mobile responsive for download handler */
@media (max-width: 768px) {
    .download-error-page,
    .download-success-page {
        padding: 20px 16px;
    }
    
    .error-container,
    .download-container {
        padding: 30px 20px;
    }
    
    .error-icon,
    .download-icon {
        width: 56px;
        height: 56px;
        font-size: 10px;
    }
    
    .error-icon-warning::before {
        font-size: 28px;
    }
    
    .error-icon-access::before,
    .error-icon-limit::before {
        font-size: 20px;
    }
    
    .error-container h2,
    .download-container h1 {
        font-size: 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

    .download-status {
        margin: 15px 0 10px 0;
    }
    
    .download-remaining-product {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .download-limit-reached {
        padding: 16px;
    }
    
    .limit-message h3 {
        font-size: 16px;
    }
    
    .limit-message p {
        font-size: 13px;
    }
}
