/* Course level badge */
.course-level-badge {
    position: absolute;
    top: 10px;         /* distance from top of image */
    left: 10px;        /* distance from left of image */
    background-color: rgba(0, 136, 204, 0.85); /* solid orange with opacity */
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px; /* rounded rectangle */
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.new-class {
    color: #0088cc;
}

.anothernew-class {
    color: #ff7404;
}

.about-titlejustify {
text-align: justify;
}

.custom-list {
    list-style-type: square !important;   /* bullet type */
    padding-left: 20px;      /* space for bullets */
    margin: 0;
}

.custom-list li {
    list-style: inherit;     /* inherit bullet from ul */
    padding: 0;
    margin: 0 0 6px 0;       /* optional spacing */
}


.custom-highlight span {
    color: #6b5ce7;  /* same blue as h3 template */
    font-weight: inherit; /* optional to match template style */
}

.header.shop .nice-select {
	clear: initial;
	margin: 0;
	width: 100px;
	border: none;
	text-align: center;
	background: transparent;
	text-transform: capitalize;
	padding: 0px;
	line-height: 30px;
	font-size: 14px;
	font-weight: 400;
}

.header.shop .nice-select .list {
	border-radius:0px;
}
.header.shop .nice-select .list li.focus{
	font-weight:400;
}
.header.shop .nice-select .list li {
	color: #666;
	border-radius: 0px;
	font-size: 14px;
	font-weight: 400;
}
.header.shop .nice-select .list li:hover{
	background:#F7941D;
	color:#fff;
}

.educare-tagline {
    color: #6b5ce7;        /* main heading color */
    font-weight: 700;
}

.educare-sub {
    color: #3f2ecc;       /* tagline color */
    font-size: 0.9em;
    font-weight: 500;
}

.pdf-card {
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pdf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.my-card {
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.75);
	box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 20px;       /* space inside the card */
    margin: 15px 0;      /* space above/below card */
}

.my-checkoutcard {
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;

    padding: 20px;
    margin: 15px 0;

    /* overflow: hidden; <-- REMOVE THIS */
}

.custom-border-color {
    border-left: 5px solid #6b5ce7 !important;
}

.border-mycustom {
    border-left: 5px solid #ff7404 !important;
}

.myfancy-notice-card {
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.myfancy-notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.myfancy-notice-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,123,255,0.1) 0%, transparent 70%);
    transform: rotate(25deg);
    transition: opacity 0.4s;
    opacity: 0;
    z-index: 0;
}

.myfancy-notice-card:hover::before {
    opacity: 1;
}

.myfancy-notice-card .badge {
    font-size: 0.75rem;
    padding: 0.4em 0.6em;
    z-index: 2;
}

.updating-badge {
    display: inline-block;
    margin-left: 8px;
    font-size: 12px;
    color: #0d6efd;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { opacity: .4 }
    50% { opacity: 1 }
    100% { opacity: .4 }
}

/* Mini-cart bounce animation */
.cart-bounce {
    animation: cart-bounce 0.4s ease forwards;
}

@keyframes cart-bounce {
    0% { transform: scale(1); }
    30% { transform: scale(1.1); }
    50% { transform: scale(0.95); }
    70% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Skeleton loader for table rows */
.skeleton-row td {
    padding: 10px;
}

.skeleton {
    display: inline-block;
    height: 16px;
    width: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.2s infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

#cart-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    pointer-events: none; /* allow clicks through toast wrapper */
}

#cart-toast .toast-inner {
    background: #ff7404 !important;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(30px);
    pointer-events: auto; /* allow clicking the button */
    transition: all 0.4s ease;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    min-width: 200px;
}

#cart-toast.show .toast-inner {
    opacity: 1;
    transform: translateY(0);
}

#cart-toast .toast-inner button {
    background: #fff;
    color: #333;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s;
}

#cart-toast .toast-inner button:hover {
    background: #ddd;
}

.billing-form .row {
    align-items: flex-start;
}
/* Normalize input & nice-select height */
.billing-form .form-group input,
.billing-form .form-group .nice-select {
    height: 30px;
    line-height: 30px;
}

/* Ensure labels are consistent */
.billing-form .form-group label {
    display: block;
    margin-bottom: 6px;
}

/* Fix vertical stretch issue */
.billing-form .col-lg-6 {
    display: flex;
    flex-direction: column;
}
/* Nice-select inside billing form */
.billing-form .form-group .nice-select {
    width: 100%;
    height: 30px;
    line-height: 30px;
    border: 1px solid #ddd;
    border-radius: 0;
    padding-left: 12px;
    background: #fff;
}

/* Dropdown list */
.billing-form .form-group .nice-select .list {
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
}

/* List items */
.billing-form .form-group .nice-select .list li.option {
    color: #333;
}

/* Hover effect */
.billing-form .form-group .nice-select .list li.option:hover {
    background: #F6F7FB;
    color: #333;
}

/* Small action buttons */
.btn-view,
.btn-refund {
    padding: 4px 10px;
    font-size: 12px;
    line-height: 1.2;
    border-radius: 20px;
    font-weight: 500;
}

/* View button */
.btn-view {
	margin-left: 6px;
    border: 1px solid #007bff;
    color: #007bff;
    background: transparent;
}

.btn-view:hover {
    background: #007bff;
    color: #fff;
}

/* Refund button */
.btn-refund {
    border: 1px solid #ffc107;
    background: #fff8e1;
    color: #856404;
}

.btn-refund:hover {
    background: #ffc107;
    color: #212529;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.checkbox-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    margin: 0;
    cursor: pointer;
}

.checkbox-item a {
    text-decoration: underline;
    cursor: pointer;
}

.content > .checkbox-row {
    padding-left: 16px;
}


.my-anchor{
	color: #6b5ce7 !important;
}

.user-avatar {
    width: 32px;        /* same size as icon */
    height: 32px;
    border-radius: 50%; /* makes it circular */
    object-fit: cover;  /* crop and fill */
    border: 1px solid #ccc; /* optional border */
}

/* PDF wrapper */
#pdf-wrapper {
    width: 210mm;
    padding: 10mm 15mm;
    font-family: 'Helvetica', Arial, sans-serif;
    color: #333;
    background: #fff;
    position: absolute;
    left: -9999px;
    top: 0;
    box-sizing: border-box;
    font-size: 10px; /* Base font size for table and text */
}
#invoice-template {
    font-size: 10px;
    line-height: 1.2;
}
/* Table base styles */
#invoice-template table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    word-wrap: break-word;
    border: 1px solid #ccc !important;
}

/* Header cells */
#invoice-template th {
    border: 1px solid #ccc !important;
    padding: 5px;
    text-align: center;
    font-size: 10px; /* uniform font size */
    background: #f8f8f8;
}

/* Body cells */
#invoice-template td {
    border: 1px solid #ccc !important;
    padding: 5px;
    font-size: 10px; /* uniform font size */
    word-wrap: break-word;
}

/* Prevent row breaking */
#invoice-template tr {
    page-break-inside: avoid;
}

/* Header/footer repeat */
#invoice-template thead { display: table-header-group; }
#invoice-template tfoot { display: table-footer-group; }

/* Footer */
#inv_footer {
    font-size: 9px;
    color: #777;
    text-align: center;
    margin-top: 5px;
}

/* Page number container */
#pageNumbers {
    position: absolute;
    bottom: 10mm;
    width: 100%;
    text-align: center;
    font-size: 9px;
    color: #555;
}

#msg { margin-top: 20px; font-size: 16px; color: #333; }

.product-buy {
    display: flex !important;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap; /* keep p elements below */
}

.product-buy .quantity {
    display: inline-flex !important;
    align-items: center;
}

.product-buy .quantity input.input-number {
    height: 42px;       /* match button height */
    width: 20px;        /* fixed width so it’s not huge */
    font-size: 16px;
    text-align: center;
    padding: 0;
    box-sizing: border-box;
}

.product-buy .btn-wrapper {
    display: inline-flex !important;
    align-items: center;
}

.product-buy .btn-wrapper .btn.add-to-cart {
    height: 42px;       /* same as input */
    padding: 0 20px;    /* horizontal spacing */
    white-space: nowrap; /* prevent text from wrapping */
    font-size: 16px;
    line-height: 42px;  /* vertical align text */
}

.product-buy p {
    width: 100%;        /* keep info below */
    margin-top: 5px;
}

.modal-links-box {
    background-color: #695ae7 !important;
    padding: 8px 12px; 
    border-radius: 8px; 
    text-align: center; 
    display: inline-block; 
    margin: 5px auto; 
    position: relative;
}

/* Force paragraph margin to zero and adjust spacing */
.modal-links-box .box-text {
    display: block;
    text-align: center;
    margin: 0 !important;       /* reset ESHOP default margin */
    padding-bottom: 4px;        /* small gap to links */
    font-weight: 600;
    color: #ffffff !important;
}

.modal-links-box .links-container .middle-text {
    color: #ffffff !important;
}

/* Links styling inside the box */
.modal-links-box .links-container a {
    color: #ffb400; 
    text-decoration: underline;
    margin: 0 5px;
    line-height: 1.2;           /* tighten vertical spacing */
}

.modal-links-box .links-container a:hover {
    color: #efb018 !important;
}

.eshop-spinner {
  border: 0.4rem solid #f3f3f3; /* light background */
  border-top: 0.4rem solid #007bff; /* blue color */
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* View button */
.btn-progress {
	padding: 3px;
    font-size: 10px;
    line-height: 1;
    border-radius: 5px;
    font-weight: 300;
	margin-left: 3px;
    border: 1px solid #007bff;
    color: #007bff;
    background: transparent;
}

.btn-progress:hover {
    background: #007bff;
    color: #fff;
}

#threeDSModal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1050;
    display: none;
}

#threeDSModal .modal-dialog {
    margin: auto;
}