.tda-pricing-table {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

[type=button], [type=submit], button {
    color:#ffffff !important;
}

/* Car & Motorcycle / Commercial tabs */
.tda-group-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 0;
}

.tda-group-tab {
    font-family: "Archivo", Sans-serif;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid #E61937;
    border-radius: 30px;
    background: #fff;
    color: #E61937;
    cursor: pointer;
}

.tda-group-tab.is-active,
.tda-group-tab:hover {
    background: #E61937;
    color: #fff;
}

.tda-actual-price {
    margin: 8px 0 0;
    font-size: 18px;
    opacity: 0.7;
}

.tda-discount-note {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.tda-trial {
    border: 2px dashed #E61937;
}

.tda-vehicle-group label {
    display: block;
    margin: 6px 0;
    font-family: "Archivo", Sans-serif;
}

.tda-error {
    color: #E61937;
    min-height: 1em;
    margin: 10px 0 0;
}

.tda-access-notice {
    margin: 12px 0;
}

@media (max-width: 1100px) {
    .tda-pricing-table {
        grid-template-columns: repeat(2, 1fr);
    }
}

.tda-plan {
    background: #fff;
    border-radius: 16px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    margin: 70px 0px;
}

.tda-plan h3 {
    font-size: 22px;
    margin-bottom: 8px;
    font-family: "Archivo", Sans-serif;
}

.tda-duration {
    font-weight: 600;
    color: #666;

}

.tda-duration-30 {
    color:#ffffff;
}
    
.tda-price {
    font-size: 28px;
    font-weight: bold;
    margin: 12px 0;
}

.tda-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.tda-features li {
    padding: 6px 0;
    font-size: 14px;
    font-family: "Archivo", Sans-serif;
}

button.tda-group-tab {
    background: #eb5f74;
    border: none;
    border-radius: 8px;
}

.tda-select {
    display: block;
    margin-top: 20px;
    /* padding: 12px; */
    background: red;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: 1s;
}

.tda-select button {
border:none;
}

.tda-select input {
    margin-right: 8px;
}

#tda-province-popup {
    font-family: "Archivo", Sans-serif;
}

/* POPULAR */
.tda-popular {
    border: 3px solid orange;
    transform: scale(1.05);
    background-image: linear-gradient(140deg, #E61937AD 0%, var(--e-global-color-c74f14b) 100%);
    color: #ffffff;
}

.tda-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: orange;
    color: #000;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
}

/* Hide steps initially */
.tda-hidden {
    display: none;
}

/* Smooth appearance */
.tda-step {
    margin-top: 30px;
    animation: fadeIn 0.4s ease-in-out;
}

.tda-step h4 {
    font-family: "Archivo", Sans-serif;
}


#tda-email {
    font-family: "Archivo", Sans-serif;
    color:#000000;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* MOBILE */
@media (max-width: 768px) {
    .tda-pricing-table {
        grid-template-columns: 1fr;
    }
        
    #tda-popup {
        width: 95%;
        padding: 20px;
    }

    .tda-plans {
        margin: 30px 0px;
    }
}


/* Popup */
#tda-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    z-index: 999;
}

#tda-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    border-radius: 12px;
    display: none;
    z-index: 1000;
}

#tda-close-popup {
    position: absolute;
    top: 12px;
    right: 15px;
    border: none;
    background: none;
    font-size: 22px;
    cursor: pointer;
}

.tda-select-plan {
    background-color: none;
    color:#ffffff !important;
    border: none;
}

.tda-select:hover {
    background-color: #000000;
    color:#ffffff !important;
    border: none !important;
}

#tda-continue {
    margin-top:10px;
    font-family: "Archivo", Sans-serif;
    color:#000000;
}

#tda-continue:hover {
    background-color: #E61937;
    color:#ffffff;
}

.cst-r {
    font-family: "Archivo", Sans-serif;
}

.cst-icn {
    margin-right:7px;
}



/*Quiz questions animation */
/* Unique animation for LearnPress question title */
.question-title, .question-answers {
    opacity: 0;
    transform: translateY(40px);
    animation: lpQuestionSlideUp 0.7s ease-out forwards;
}

@keyframes lpQuestionSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ---------- My Practice Tests [tda_my_quizzes] ---------- */
.tda-myq { font-family: "Archivo", Sans-serif; max-width: 960px; margin: 0 auto; }
.tda-myq-plan { background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); padding: 24px; margin: 24px 0; }
.tda-myq-plan-head h2 { margin: 0 0 6px; font-size: 24px; }
.tda-myq-plan-head p { margin: 0; color: #555; }
.tda-myq-class { margin: 24px 0 8px; font-size: 18px; color: #E61937; }
.tda-myq-list { list-style: none; margin: 0; padding: 0; }
.tda-myq-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #eee; }
.tda-myq-title { flex: 1; font-weight: 600; }
.tda-myq-status { font-size: 13px; padding: 3px 10px; border-radius: 20px; background: #f1f1f1; color: #555; white-space: nowrap; }
.tda-myq-status--passed { background: #e6f6ea; color: #1b7a33; }
.tda-myq-status--failed { background: #fdecee; color: #b3122a; }
.tda-myq-btn { display: inline-block; padding: 8px 16px; border-radius: 8px; background: #E61937; color: #fff !important; text-decoration: none; white-space: nowrap; }
.tda-myq-btn:hover { background: #000; }
.tda-myq-notice { padding: 16px; border-radius: 10px; background: #fff4e5; margin: 16px 0; }
@media (max-width: 600px) {
    .tda-myq-item { flex-wrap: wrap; }
    .tda-myq-title { flex-basis: 100%; }
}
