/*
 * v2 additions on top of the vendored legacy stylesheets (style.css,
 * custom.css), which are kept byte-identical to the old site.
 */

/* Primary green call-to-action — previously only styled on the homepage. */
.btn.btn-hero-main,
.btn-hero-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #00895D;
    border: 1px solid #00895D;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn.btn-hero-main:hover,
.btn.btn-hero-main:focus-visible,
.btn-hero-main:hover {
    background: #0f8566;
    border-color: #0f8566;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 137, 93, 0.22);
}
.btn.btn-hero-main:disabled { opacity: 0.6; transform: none; box-shadow: none; }
.btn.btn-hero-main.btn-lg { font-size: 17px; padding: 14px 36px; }
.btn.btn-hero-main::before { display: none !important; }

/* ===== Cart ===== */
.cart-page { background: #f6f8fb; }
.cart-header { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.cart-header h1 { font-size: 32px; font-weight: 700; color: #1C2C48; margin: 0; }
.cart-count { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 10px; border-radius: 15px; background: #1C2C48; color: #fff; font-size: 14px; font-weight: 600; }
.cart-subtitle { color: #5a6a80; font-size: 15px; margin: -20px 0 28px; }

.cart-panel { background: #fff; border: 1px solid #e6eaf0; border-radius: 14px; box-shadow: 0 2px 10px rgba(28, 44, 72, 0.04); }

.cart-item { display: flex; align-items: center; gap: 18px; padding: 20px 24px; }
.cart-item + .cart-item { border-top: 1px solid #eef1f5; }
.cart-item-thumb { flex-shrink: 0; width: 56px; height: 56px; border-radius: 12px; background: #eef7f3; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #00895D; font-weight: 700; font-size: 18px; }
.cart-item-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.cart-item-body { flex: 1; min-width: 0; }
.cart-item-title { font-size: 17px; font-weight: 600; color: #1C2C48; margin: 0 0 4px; }
.cart-item-desc { font-size: 14px; color: #5a6a80; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cart-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: #f1f4f8; color: #1C2C48; font-size: 12px; font-weight: 600; }
.cart-pill.is-green { background: #e6f4ee; color: #00895D; }
.cart-item-price { text-align: right; flex-shrink: 0; }
.cart-item-price strong { display: block; font-size: 18px; color: #1C2C48; }
.cart-item-price small { color: #8a94a6; font-size: 12px; }
.cart-remove { flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; border: 1px solid #e6eaf0; background: #fff; color: #8a94a6; display: inline-flex; align-items: center; justify-content: center; transition: all 0.15s; }
.cart-remove:hover { border-color: #CD493A; color: #CD493A; background: #fdf3f2; }
.cart-remove i { font-size: 18px; }

.cart-continue { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: #1C2C48; font-weight: 600; text-decoration: none; }
.cart-continue:hover { color: #00895D; }

.cart-summary { padding: 24px; position: sticky; top: 110px; }
.cart-summary h2 { font-size: 20px; font-weight: 700; color: #1C2C48; margin: 0 0 6px; }
.cart-billing { font-size: 13px; color: #5a6a80; margin-bottom: 18px; }
.cart-billing strong { color: #1C2C48; }
.cart-coupon { display: flex; gap: 8px; margin-bottom: 20px; }
.cart-coupon .form-control { height: 44px; border-radius: 8px; border-color: #dfe4eb; font-size: 14px; }
.cart-coupon .btn { height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid #1C2C48; background: #fff; color: #1C2C48; font-weight: 600; font-size: 14px; }
.cart-coupon .btn:hover { background: #1C2C48; color: #fff; }
.cart-coupon-applied { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; margin-bottom: 20px; border-radius: 8px; background: #e6f4ee; color: #00895D; font-size: 14px; font-weight: 600; }
.cart-coupon-applied button { border: 0; background: transparent; color: #5a6a80; font-size: 13px; text-decoration: underline; padding: 0; }
.cart-line { display: flex; justify-content: space-between; font-size: 15px; color: #5a6a80; padding: 6px 0; }
.cart-line span:last-child { color: #1C2C48; font-weight: 600; }
.cart-line.is-discount span:last-child { color: #00895D; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid #eef1f5; margin-top: 10px; padding-top: 14px; }
.cart-total span:first-child { font-size: 16px; font-weight: 600; color: #1C2C48; }
.cart-total span:last-child { font-size: 26px; font-weight: 700; color: #1C2C48; }
.cart-checkout { width: 100%; margin-top: 20px; }
.cart-secure { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; font-size: 12px; color: #8a94a6; }
.cart-secure img { height: 20px; width: auto; }

.cart-empty { padding: 60px 24px; text-align: center; }
.cart-empty-icon { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: #eef7f3; color: #00895D; display: flex; align-items: center; justify-content: center; }
.cart-empty-icon i { font-size: 40px; }
.cart-empty h2 { font-size: 22px; font-weight: 700; color: #1C2C48; }
.cart-empty p { color: #5a6a80; margin-bottom: 24px; }

@media (max-width: 575px) {
    .cart-item { flex-wrap: wrap; padding: 18px; gap: 14px; }
    .cart-item-body { flex-basis: calc(100% - 70px); }
    .cart-item-price { text-align: left; flex: 1; }
    .cart-header h1 { font-size: 26px; }
}

/* ===== Register page — same look as the cart and payment pages ===== */
.reg-page { background: #f6f8fb; }
.reg-page .tabheading h2 { font-size: 30px; font-weight: 700; color: #1C2C48; padding: 36px 0 0; border-bottom: 0; margin: 0; }
.reg-page .tabheading > div { border-bottom: 0 !important; padding-bottom: 0 !important; }
.reg-page h4, .reg-page h5 { color: #1C2C48; font-weight: 700; }
.reg-page h5 { font-size: 18px; margin-bottom: 12px; }

.reg-page .reg-panel { padding: 26px 28px; }
.reg-page .reg-panel h4 { font-size: 18px; margin-bottom: 6px; }
.reg-page .reg-panel .form-check { padding: 14px 16px 14px 46px; border: 1px solid #e6eaf0; border-radius: 10px; margin-top: 12px !important; transition: border-color .15s, background .15s; }
.reg-page .reg-panel .form-check:has(input:checked) { border-color: #00895D; background: #f2faf6; }
.reg-page .reg-panel .form-check-label { cursor: pointer; }

/* Service cards */
.reg-page .card { background: #fff; border: 1px solid #e6eaf0; border-radius: 14px; box-shadow: 0 2px 10px rgba(28, 44, 72, 0.04); overflow: hidden; }
.reg-page .package_Box { margin-bottom: 18px; border-width: 2px; transition: border-color .15s, box-shadow .15s; }
.reg-page .package_Box:hover { box-shadow: 0 6px 18px rgba(28, 44, 72, 0.08); }
.reg-page .package_Box.activeChaeck { border: 2px solid #00895D; box-shadow: 0 0 0 4px rgba(0, 137, 93, 0.12); }
.reg-page .package_Box .card-header { padding: 18px 22px; border-bottom: 1px solid #eef1f5; gap: 14px; flex-wrap: wrap; background: #fff; }
.reg-page .package_Box.activeChaeck .card-header { background: #f2faf6; }
.reg-page .package_Box .card-header .packName { font-size: 18px; font-weight: 700; color: #1C2C48; display: flex; align-items: center; gap: 10px; }
.reg-page .package_Box .card-header .packName img { width: 40px !important; height: 40px; max-width: none; padding: 8px; border-radius: 10px; background: #eef7f3; object-fit: contain; }
.reg-page .package_Box .card-header .packPrice { font-size: 20px; color: #1C2C48; margin-left: 0; }
.reg-page .package_Box .card-header .packPrice span.yearlyprice { font-size: 13px; font-style: normal; color: #5a6a80; margin: 0 6px 0 2px; }
.reg-page .package_Box .card-header .select { font-weight: 600; color: #1C2C48; gap: 8px; }
.reg-page .package_Box .card-body { padding: 18px 22px; color: #5a6a80; font-size: 15px; }
.reg-page .package_Box .card-body a[data-bs-toggle="modal"] { color: #00895D !important; }

/* Right-hand order summary, as on the cart page */
.reg-page .reg-summary { padding: 24px; position: sticky; top: 110px; color: #1C2C48; }
.reg-page .reg-side { position: sticky; top: 110px; }
.reg-page .reg-side .reg-summary { position: static; }
.reg-page .reg-summary h2, .reg-page .reg-coupon h2 { font-size: 20px; font-weight: 700; color: #1C2C48; margin: 0 0 6px; }
.reg-summary-items { border-top: 1px solid #eef1f5; border-bottom: 1px solid #eef1f5; padding: 8px 0; margin-bottom: 8px; }
.reg-summary-item { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; color: #1C2C48; }
.reg-summary-item span:last-child { font-weight: 600; white-space: nowrap; }

/* Coupon and payment choice */
.reg-page .reg-coupon { padding: 20px 24px; }
.reg-page .reg-coupon h2 { font-size: 17px; margin-bottom: 12px; }
.reg-page .coupon-message .alert { padding: 8px 12px; font-size: 13px; border-radius: 8px; margin-bottom: 10px; }
.reg-page .payment .Pcard { border: 2px solid #e6eaf0; border-radius: 14px; padding: 20px 22px; margin-bottom: 14px; box-shadow: 0 2px 10px rgba(28, 44, 72, 0.04); transition: border-color .15s, background .15s; }
.reg-page .payment .Pcard:has(input:checked) { border-color: #00895D; background: #f2faf6; }
.reg-page .payment .Pcard label { font-size: 15px; font-weight: 600; color: #1C2C48; text-transform: none; cursor: pointer; }
.reg-page .payment .Pcard .pcardTitle img { max-height: 28px; top: 50%; transform: translateY(-50%); }
.reg-page .fillinfo_payment .card-body { padding: 24px; }
.reg-page .fillinfo_payment .form-control { border-radius: 8px; border-color: #dfe4eb; min-height: 44px; }

/* Bank choice and buttons */
.reg-page .bank-card { border-radius: 14px; box-shadow: 0 2px 10px rgba(28, 44, 72, 0.06); }
.reg-page .bank-container { border-radius: 16px; }
.reg-page .bank-container.activeb { border: 2px solid #00895D; }
.reg-page .btn-primary { border-radius: 8px; padding: 12px 28px; font-weight: 600; }
.reg-page .btn-line-secondary { border-radius: 8px; }

@media (max-width: 991px) {
    .reg-page .reg-summary, .reg-page .reg-side { position: static; }
    .reg-page .tabheading h2 { font-size: 24px; padding-top: 24px; }
}
@media (max-width: 575px) {
    .reg-page .package_Box .card-header, .reg-page .package_Box .card-body { padding: 16px; }
    .reg-page .payment .Pcard .pcardTitle img { position: static; transform: none; margin-top: 8px; }
    .reg-page .payment .Pcard .pcardTitle p { width: 100%; }
}

/* Register page: customer information grouped into sections */
.reg-page .reg-form-section + .reg-form-section { margin-top: 22px; padding-top: 22px; border-top: 1px solid #eef1f5; }
.reg-page .reg-form-title { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8a94a6; margin: 0 0 4px; }
.reg-page .reg-form-hint { font-size: 13px; color: #5a6a80; margin: 0 0 12px; }
.reg-page .reg-form-title + .row { margin-top: 8px; }
.reg-page .fillinfo_payment label { font-size: 14px; font-weight: 600; color: #1C2C48; margin-bottom: 6px; }
.reg-page .fillinfo_payment label span { color: #CD493A; }
.reg-page .fillinfo_payment label small { font-weight: 400; color: #8a94a6; }

/* Register page: step breadcrumb */
.reg-page .reg-steps { padding-top: 28px; }
.reg-page .reg-steps ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; list-style: none; margin: 0; padding: 0; font-size: 13px; }
.reg-page .reg-step { display: flex; align-items: center; }
.reg-page .reg-step + .reg-step::before { content: "›"; color: #c3cad6; margin: 0 10px; font-size: 15px; line-height: 1; }
.reg-page .reg-step-link { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: #8a94a6; font-weight: 500; cursor: default; }
.reg-page .reg-step-num { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid #d5dbe4; font-size: 11px; font-weight: 600; }
.reg-page .reg-step.is-current .reg-step-link { color: #1C2C48; font-weight: 700; }
.reg-page .reg-step.is-current .reg-step-num { background: #1C2C48; border-color: #1C2C48; color: #fff; }
.reg-page .reg-step.is-done .reg-step-link { color: #00895D; }
.reg-page .reg-step.is-done .reg-step-num { background: #e6f4ee; border-color: #b7e2cf; color: transparent; position: relative; }
.reg-page .reg-step.is-done .reg-step-num::after { content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #00895D; font-size: 11px; }
.reg-page .reg-step.is-done .reg-step-link:not(:disabled) { cursor: pointer; }
.reg-page .reg-step.is-done .reg-step-link:not(:disabled):hover .reg-step-label { text-decoration: underline; }
.reg-page .reg-steps + .tab-content .tabheading h2 { padding-top: 16px; }
@media (max-width: 575px) {
    .reg-page .reg-step:not(.is-current) .reg-step-label { display: none; }
    .reg-page .reg-step + .reg-step::before { margin: 0 6px; }
}
