﻿/* ============================================
   TenCount Cart Page Styles
   Target: LearningCart injected [content] block
   ============================================ */

/* --- Full page background below header --- */
body,
.is-page,
.lc-page,
#wrapper,
#page-wrapper,
.page-content,
.lc-content-area,
.container-fluid {
    background: linear-gradient(90deg, #2c4292 0%, #342c62 50%, #783462 100%) !important;
}

/* --- Page wrapper --- */
.is-section.is-bg-light,
.is-section.is-bg-grey,
.is-section,
.is-boxes,
.is-box,
.last-box,
.is-container,
.lc-1200-content,
.lc-content {
    background: linear-gradient(90deg, #2c4292 0%, #342c62 50%, #783462 100%) !important;
    background-color: transparent !important;
}

.is-section {
    min-height: 100vh;
    padding: 40px 5rem 60px;
    box-sizing: border-box;
}

.lc-1200-content {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.row,
.col-md-12 {
    margin: 0 !important;
    padding: 0 !important;
}

/* --- Cart container --- */
.lc-Container {
    width: 80%;
    margin: 40px auto;
}

.lc-Container p a {
    color: #57edff !important;
}

.lc-Container>h1,
.lc-Container>p {
    color: #fff;
    font-family: 'Asap', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.lc-cartpaymentinfo>h1,
.lc-cartpaymentinfo>p {
    color: #fff;
    font-family: 'Asap', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.lc-cartpaymentinfo {
    border: none !important;
    order: 2;
}

.carttable tbody tr th {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
}

.carttableodd {
    background: #1a1a3e;
}

.carttableodd td a {
    color: white !important;
}

.carttableodd td {
    color: white !important;
}

.carttableeven {
    background: #1a1a3e !important;
}

.carttableeven td a {
    color: white !important;
}

.carttableeven td {
    color: white !important;
}

#ctl00_Content_Cart1_btnCheckout {
    min-width: 110px;
    background-color: #ffd400 !important;
    color: #333 !important;
    font-size: 15px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin-right: 0 !important;
}

#ctl00_Content_Cart1_btnUpdate {
    min-width: 110px;
    background-color: #d5d8f8 !important;
    color: #333 !important;
    font-size: 15px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#ctl00_Content_pnlLogin h1 {
    color: #fff;
    font-family: 'Asap', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#ctl00_Content_pnlLogin h1 {
    color: #fff;
    font-family: 'Asap', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.gridviewwrapper {
    background-color: #1a1a3e !important;
    border: 1px solid white !important;
    padding: 0 !important;
}

.Login {
    background-color: transparent !important;
    margin-bottom: 0 !important;
    border: none !important;
}

.ExistingUser {
    width: 50%;
    background-color: #1a1a3e;
    color: white;
    border-width: 0 1px 0 0;
    border-style: solid;
    border-color: #e5e7eb;
}

.ExistingUser h3 {
    font-size: 22px;
    font-weight: 500;
    color: #fff;
}

.ExistingUser div {
    display: flex;
}

.NewUser {
    border-radius: 0 10px 10px 0 !important;
    background-color: #1a1a3e !important;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 1rem;
}

.NewUser a {
    color: white !important;
    background: linear-gradient(90deg, #e6005a 0%, #007ac6 100%);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    width: 24rem;
    display: block;
    text-align: center;
    padding-top: 6px;
    padding-bottom: 6px;
}

#ctl00_Content_lt3 {
    font-size: 15px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#ctl00_Content_lt5 {
    font-size: 15px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#ctl00_Content_btnLogin {
    background: linear-gradient(90deg, #e6005a 0%, #007ac6 100%);
    color: #fff !important;
    margin-top: 1rem;
    margin-left: 0;
    padding-top: 6px;
    padding-bottom: 6px;
    width: 24rem;
    font-size: 15px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#ctl00_Content_lnkPassword {
    color: #ffffff;
    font-size: 15px;
    font-weight: 100;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.lc-paymentfields {
    border: none !important;
}

.lc-paymentfields h3 {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
}

#lc-adddiscount {
    color: #ffffff !important;
    background: linear-gradient(90deg, #e6005a 0%, #007ac6 100%);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding: 1rem 2rem;
    width: 100% !important;
    display: block;
    text-align: center;
}

#ctl00_Content_ucCartPayment_divDiscount {
    display: inherit;
}

#ctl00_Content_ucCartPayment_divDiscount .lc-8 {
    padding-bottom: 10px;
    padding-right: 15px;
    float: inline-start;
    max-width: 100%;
    width: 100% !important;
}

#ctl00_Content_ucCartPayment_Button1 {
    max-width: 100%;
    float: inline-start;
    padding: 3px 0;
    background-color: #ffd400 !important;
    color: var(--link-color) !important;
}

.lc-adddiscountcode {
    padding: 2rem 0 !important;
}

#ctl00_Content_ucCartPayment_divDiscount .lc-4 {
    max-width: 100%;
}

#ctl00_Content_ucCartPayment_lstCardType {
    font-size: 13px !important;
    font-weight: 600 !important;
    background-color: white !important;
    min-width: 176px;
}

#ctl00_Content_ucCartPayment_lstCardType:hover {
    background-color: #eeefff !important;
    cursor: pointer;
}

.StripeElement {
    background: white !important;
    min-width: 176px;
}

[name="ctl00$Content$ucCartPayment$txtName"] {
    background: white !important;
    min-width: 176px;
}

#btnPurchase {
    background-color: #ffd400 !important;
    font-size: 15px;
    font-weight: 500;
    color: var(--link-color) !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 33.3333%;
    width: 100% !important;
    margin-right: 0;
}

#btnPurchase:hover {
    background-color: #ffdd34;
    text-decoration: underline;
}

input#ctl00_MainContent_ucCartPayment_txtDiscount,
input#ctl00_Content_ucCartPayment_txtDiscount {
    width: 200px !important;
}

#ctl00_Content_ucCartPayment_trPayment {
    padding-right: 0;
}

.lc-row.lc-cartentry.lc-grandtotal {
    width: 100%;
}

.MyAccountText {
    color: white;
    font-size: 15px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#ctl00_Content_lblText {
    color: #fff;
    font-family: 'Asap', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#ctl00_Content_ucCartPayment_pnlConfirm {
    color: white;
}

#ctl00_Content_ucCartPayment_pnlConfirm h1 {
    font-family: 'Asap', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#ctl00_Content_ucCartPayment_pnlConfirm p {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#ctl00_Content_ucCartPayment_pnlConfirm p a {
    color: #00ffff;
    font-weight: 500;
}

#ctl00_Content_ucCartPayment_pnlConfirm ul {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#ctl00_Content_ucCartPayment_pnlConfirm ul li a {
    color: #00ffff;
    font-weight: 500;
}

#ctl00_Content_ucCartPayment_pnlProcessed {
    color: white;
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#ctl00_Content_ucCartPayment_pnlProcessed h1 {
    font-family: 'Asap', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.course-container h3 {
    color: white;
}

.expirationdate {
    color: white;
}

.course-details p {
    color: white;
}

.CourseCompletion tbody tr td p {
    color: black;
}

.BillingInfoHeader strong {
    display: none;
}

@media(min-width: 1170px) {
    .lc-8.lc-cartpaymentinfo {
        min-width: 580px;
    }
}

@media (min-width: 875px) and (max-width: 1169px) {
    .lc-paymentfields .lc-row {
        display: flex;
        flex-direction: column;
        gap: 16px !important;
    }

    #trCardType {
        min-width: 350px;
    }

    #trCardNumber {
        min-width: 350px;
        max-height: 55px;
    }

    #trName {
        min-width: 350px;
    }

    #trExpiration {
        min-width: 350px;
        max-height: 55px;
    }

    #trSecurityCode {
        min-width: 350px;
    }

    .lc-8.lc-cartpaymentinfo {
        max-width: 450px;
    }

    .lc-8.lc-cartpaymentinfo .gridviewwrapper {
        min-width: auto;
        width: 400px;
    }

    .lc-paymentfields div:nth-child(4) {
        float: left !important;
    }

    #ctl00_Content_ucCartPayment_trPayment {
        padding-left: 0 !important;
    }

    #btnPurchase {
        min-width: 330px !important;
        margin-left: 15px !important;
        float: left !important;
    }

    .lc-4.lc-cart {
        min-width: 280px;
    }
}

@media (min-width: 801px) and (max-width: 874px) {
    .lc-8.lc-cartpaymentinfo {
        max-width: 310px;
    }

    .lc-8.lc-cartpaymentinfo h1 {
        width: 280px;
    }

    .lc-8.lc-cartpaymentinfo p {
        font-size: 13px;
        width: 280px;
    }

    .lc-paymentfields .lc-row {
        display: flex;
        flex-direction: column;
        gap: 16px !important;
    }

    #trCardType {
        min-width: 240px;
    }

    #trCardNumber {
        min-width: 240px;
        max-height: 55px;
    }

    #trName {
        min-width: 240px;
    }

    #trExpiration {
        min-width: 240px;
        max-height: 55px;
    }

    #trSecurityCode {
        min-width: 240px;
    }

    .lc-8.lc-cartpaymentinfo .gridviewwrapper {
        min-width: auto;
        width: 280px;
    }

    .lc-paymentfields div:nth-child(4) {
        float: left !important;
    }

    #ctl00_Content_ucCartPayment_trPayment {
        padding-left: 0 !important;
    }

    #btnPurchase {
        min-width: 210px !important;
        margin-left: 15px !important;
        float: left !important;
    }

    .lc-4.lc-cart {
        min-width: 280px;
    }
}

@media(max-width: 800px) {
    #trCardNumber {
        max-height: 55px;
    }

    #trExpiration {
        max-height: 55px;
    }

    #trName {
        margin-bottom: 0 !important;
    }

    #ctl00_Content_ucCartPayment_trPayment {
        padding-left: 15px;
        padding-right: 15px;
    }

    #btnPurchase {
        width: 100% !important;
        max-width: 100% !important;
    }

    .lc-paymentfields .lc-row {
        margin-bottom: 10px !important;
    }

    #lc-adddiscount {
        display: block;
        text-align: center;
        padding: 6px 0;
    }
}

@media (max-width: 1040px) {
    .NewUser a {
        width: 100% !important;
    }

    #ctl00_Content_btnLogin {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .ExistingUser {
        width: auto;
        border-width: 0 0 1px 0;
    }

    #ctl00_Content_btnLogin {
        margin-right: 0;
    }

    .gridviewwrapper {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .carttableodd {
        border-width: 0 0 1px 0;
    }

    .carttableodd td {
        border: none !important;
    }

    .carttableodd td:nth-child(5) {
        display: flex;
    }

    .carttableeven {
        border-width: 0 0 1px 0;
    }

    .carttableeven td {
        border: none !important;
    }

    .carttableeven td:nth-child(5) {
        display: flex;
    }
}

@media (max-width: 480px) {
    #ctl00_Content_Cart1_btnUpdate {
        margin-left: 0;
        margin-right: 0 !important;
        margin-bottom: 1rem !important;
    }

    #ctl00_Content_Cart1_btnCheckout {
        margin-left: 0;
        margin-right: 0 !important;
        margin-bottom: 1rem !important;
    }
}

/* --- Cart table wrapper --- */
.gridviewwrapper {
    background: #EFEBEB;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

/* --- Table --- */
.carttable {
    width: 100%;
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    border: none !important;
    margin-bottom: -1px !important;
}

.carttable th {
    background: #1a1a3e;
    color: #fff;
    font-family: 'Asap', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 12px 16px;
    text-align: left;
    border: none;
}

.carttable td {
    padding: 14px 16px;
    color: #1a1a1a;
    vertical-align: middle;
    border-bottom: 1px solid #ddd;
}

.carttable tr:last-child td {
    border-bottom: none;
}

/* Course link */
.carttable td a {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a1a;
    text-decoration: underline;
    text-decoration-color: #ccc;
    text-underline-offset: 2px;
    font-weight: 500;
    font-size: 14px;
}

.carttable td a:hover {
    color: #007AC6;
}

/* Quantity/Seats input */
.txtquantity {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    width: 60px;
    padding: 6px 10px;
    font-size: 14px;
    border: 1px solid #000;
    border-radius: 6px;
    background: #fff;
    color: #1a1a1a;
    text-align: center;
}

/* Amount / Subtotal columns */
.carttable td:nth-child(3),
.carttable td:nth-child(4) {
    font-weight: 500;
    white-space: nowrap;
    color: #007AC6;
}

/* Remove checkbox column */
.carttable td:nth-child(5) {
    text-align: center;
}

.carttable td:nth-child(5) input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #e6005a;
}

/* --- Action buttons (Next / Update) --- */
.lc-Container input.button,
#ctl00_Content_Cart1_btnCheckout,
#ctl00_Content_Cart1_btnUpdate {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    font-weight: 500;
    border: none;
    border-radius: 10px;
    padding: 12px 28px;
    cursor: pointer;
    transition: filter 0.15s ease;
    margin-right: 12px;
    margin-bottom: 24px;
}

#ctl00_Content_Cart1_btnCheckout {
    background: #ffd400;
    color: #1a1a1a;
}

#ctl00_Content_Cart1_btnCheckout:hover {
    background-color: #ffdd34 !important;
    text-decoration: underline;
}

#ctl00_Content_Cart1_btnUpdate {
    background: #007AC6;
    color: #fff;
}

#ctl00_Content_Cart1_btnUpdate:hover {
    filter: brightness(1.11);
    text-decoration: underline;
}

/* --- Recommended products section --- */
.lc-recprod-container {
    margin-top: 32px;
}

.lc-recprod-heading {
    font-family: 'Asap', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

/* Splide carousel */
.splide__slide {
    padding-right: 1rem;
}

/* Product card */
.lc-recprod {
    display: block;
    text-decoration: none;
    background: #EFEBEB;
    border-radius: 10px;
    overflow: hidden;
    transition: filter 0.15s ease;
}

.lc-recprod:hover {
    filter: brightness(0.95);
}

.lc-recprod__thumbnail img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.lc-recprod__body {
    padding: 12px 14px;
}

.lc-recprod__name {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 6px;
    line-height: 1.4;
}

.lc-recprod__price {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #007AC6;
    margin: 0;
}

/* Splide arrow buttons */
.splide__arrow {
    background: #0D1144 !important;
    opacity: 1 !important;
    border-radius: 50%;
    width: 36px !important;
    height: 36px !important;
}

.splide__arrow svg {
    fill: none;
    stroke: #fff;
    width: 18px;
    height: 18px;
}

.splide__arrow:disabled {
    opacity: 0.3 !important;
}

@media (min-width: 601px) {
    .gridviewwrapper {
        min-width: 34rem;
    }
}

/* --- Mobile responsiveness --- */
@media (max-width: 480px) {

    .is-section.is-bg-light,
    .is-section.is-bg-grey {
        padding: 24px 1.5rem 40px;
    }

    .carttable {
        font-size: 12px;
    }

    .carttable th,
    .carttable td {
        padding: 10px 10px;
    }

    .txtquantity {
        width: 48px;
        font-size: 12px;
        padding: 4px 6px;
    }

    .lc-Container input.button {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
        display: block;
    }

    .lc-recprod-heading {
        font-size: 18px;
    }
}

@media (min-width: 481px) and (max-width: 860px) {

    .is-section.is-bg-light,
    .is-section.is-bg-grey {
        padding: 32px 3rem 48px;
    }
}