@font-face {
    font-family: 'PSL Kanda Pro';
    src: url('/fonts/PSL152Pro.otf');
}

@font-face {
    font-family: 'PSL KandaExtra Pro';
    src: url('/fonts/PSL156Pro.otf');
}

@font-face {
    font-family: 'Kanit';
    src: url('/fonts/Kanit-Regular.ttf');
}

@font-face {
    font-family: 'KanitRegular';
    src: url('/fonts/Kanit-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'KanitBold';
    src: url('/fonts/Kanit-Bold.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'KanitItalic';
    src: url('/fonts/Kanit-Italic.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'KanitBoldItalic';
    src: url('/fonts/Kanit-BoldItalic.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'PSLKandaProRegular';
    font-style: normal;
    font-weight: 700;
    src: url('/fonts/PSL152Pro.otf');
}

@font-face {
    font-family: 'PSLKandaProItalic';
    font-style: normal;
    font-weight: 700;
    src: url('/fonts/PSL153Pro.otf');
}

@font-face {
    font-family: 'PSLKandaProBold';
    font-style: normal;
    font-weight: 700;
    src: url('/fonts/PSL154Pro.otf');
}

@font-face {
    font-family: 'PSLKandaProBoldItalic';
    font-style: normal;
    font-weight: 700;
    src: url('/fonts/PSL155Pro.otf');
}

@font-face {
    font-family: 'PSLKandaExtraProRegular';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/PSL156Pro.otf');
}

@font-face {
    font-family: 'PSLKandaExtraProItalic';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/PSL157Pro.otf');
}

.swal2-popup {
    font-family: PSL Kanda Pro !important;
    letter-spacing: 0.01em;
}
.swal2-html-container {
    font-size: 27px !important;
}

#topbar {
    height: 33px !important;
    background: #162E51;
}

.btn-service {
    margin: 5px !important;
    width: 190px !important;
    height: 190px !important;
    color: white !important;
}

.btn-etax-dg-service {
    border-top-left-radius: 300px !important;
    border-top-right-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
    background-color: #63A5DF !important;
}

.btn-etax-dg-service:hover {
    transform: matrix(1.1, 0, 0, 1.1, -10, -10) !important;
}

.btn-e-sign-dg-service {
    border-bottom-left-radius: 300px !important;
    border-bottom-right-radius: 10px !important;
    border-top-left-radius: 10px !important;
    background-color: #01CC9B !important;
}

.btn-e-sign-dg-service:hover {
    transform: matrix(1.1, 0, 0, 1.1, -10, 10) !important;
}

.btn-estamp-dg-service {
    border-top-right-radius: 300px !important;
    border-top-left-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
    background-color: #14A0C0 !important;
}

.btn-estamp-dg-service:hover {
    transform: matrix(1.1, 0, 0, 1.1, 10, -10) !important;
}

.btn-e-mail-dg-service {
    border-bottom-right-radius: 300px !important;
    border-bottom-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
    background-color: #F2BD1D !important;
}

.btn-e-mail-dg-service:hover {
    transform: matrix(1.1, 0, 0, 1.1, 10, 10) !important;
}

.smes {
    position: absolute;
    top: 130px;
    margin: auto;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
    width: 130px;
}

@media screen and (max-width: 500px) {
    .btn-etax-dg-service, .btn-e-sign-dg-service, .btn-estamp-dg-service, .btn-e-mail-dg-service {
        width: 120px !important;
        height: 120px !important;
    }

    .smes {
        top: 85px;
        width: 90px;
    }
}

.bg-card-service-detail {
    border-left: 6px solid #63A5DF !important;
    background-color: rgba(0, 0, 0, 0.3) !important;
}

.bg-app-process {
    background-image: url('/images/bg-application-process.svg');
    background-size: cover;
    background-attachment: fixed;
}

.bg-abount-us {
    background-image: url('/images/bg-about-us.svg');
    background-size: cover;
    background-attachment: fixed;
}

.bg-our-service {
    background-image: url('/images/bg-our-service.svg');
    background-size: cover;
    background-attachment: fixed;
}

.news-badges {
    background-color: #28A13C;
}

.notify-badges {
    background-color: #FCB25C;
}

footer {
    background-color: #162E51;
}

.footer-copy-right {
    border-top: 2px solid rgb(202, 202, 202, 0.2);
}

.font-kanda-pro {
    font-family: PSL Kanda Pro;
    font-style: normal;
    font-weight: bold;
    letter-spacing: 0.01em;
}

.font-kandaExtra-pro {
    font-family: PSL KandaExtra Pro;
    font-style: normal;
    font-weight: normal;
}

.font-kanit {
    font-family: Kanit;
    font-style: normal;
    font-weight: normal;
}

#service-detail .modal-header {
    border-bottom: none !important;
}

@media screen and (max-width: 770px) {
    #app > i, #contact > i {
        font-size: 10px !important;
    }

    #contact > span {
        font-size: 12px !important;
    }
}

#app > i {
    font-size: 18px;
    margin: 0px 5px;
    color: #FFFFFF;
    opacity: 0.8;
}

.carousel-caption {
    left: 10% !important;
    bottom: 50px !important;
}

.carousel-indicators [data-bs-target] {
    width: 10px !important;
    height: 10px !important;
    opacity: 1 !important;
    background-color: #DDDDDD !important;
    border-top: none !important;
    border-bottom: none !important;
    border-radius: 5px !important;
}

.carousel-indicators .active {
    background-color: #00BDE3 !important;
}

.collapse-show {
    transition: height .35s ease !important;
    display: block !important;
    overflow: hidden !important;
    height: 190px;
}

.collapse-hide {
    transition: height .35s ease !important;
    display: block !important;
    overflow: hidden !important;
    height: 0px;
}

@media screen and (min-width: 991px) {
    .collapse-hide {
        overflow: visible !important;
    }
}

.dropdown-item:hover {
    /* background-color: #224274 !important; */
    background-color: #162E51 !important;
    color: #63A5DF !important;
}

a:active, .nav-link:hover {
    color: #63A5DF !important;
}

.dropdown-toggle::after {
    vertical-align: 0.1em !important;
}

@media screen and (min-width: 1300px) {
    .carousel-caption {
        bottom: 110px !important;
    }
}

@media screen and (max-width: 1200px) {
    .nav-link, .dropdown-item {
        font-size: 21px !important;
    }
}

@media screen and (max-width: 991px) {
    #image-service {
        display: none !important;
    }

    #image-service-vertical {
        display: block !important;
    }

    #mynavbar {
        height: 100vh !important;
        background-color: #162E51 !important;
        position: fixed !important;
        top: 122px !important;
        left: 0 !important;
        z-index: 5 !important;
        transition: width 1s ease !important;
    }

    #mynavbar > ul > li > a, #mynavbar > div > ul > li > a {
        color: #FFFFFF !important;
    }

    #mynavbar > ul, #mynavbar > div {
        padding: 10px;
    }

    #mynavbar > div > ul {
        border-top: 2px solid rgba(116, 116, 116, 0.3);
        padding-top: 10px;
    }

    #mynavbar > ul > li, #mynavbar > div > ul > li {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    #mynavbar > div > ul > li > .input-group {
        padding-left: 15px;
    }

    #main {
        padding-top: 122px !important;
    }

    #contact-us {
        z-index: 10;
    }

    .collapse-show {
        width: 310px !important;
    }

    .collapse-hide {
        width: 0px !important;
    }

    #topbar {
        position: fixed !important;
        width: 100% !important;
        z-index: 5;
    }

    header {
        position: fixed !important;
        width: 100% !important;
        top: 33px !important;
        background-color: #FFFFFF !important;
        z-index: 5;
    }

    .dropdown-toggle::after {
        float: right !important;
    }

    .dropdown-menu {
        padding-left: 20px !important;

        animation-name: fadeIn;
        animation-duration: 1s;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    .carousel-item > img {
        width: auto !important;
        height: auto !important;
    }

    #carousel-content {
        top: auto;
        justify-content: center !important;
    }

    #carousel-content > h2 {
        font-size: 30px !important;
        line-height: 22px !important;
    }

    #carousel-content > h1 {
        font-size: 40px !important;
    }

    #carousel-content > p {
        font-size: 20px !important;
    }

    #carousel-content > div > button {
        font-size: 20px !important;
    }

    .carousel-caption {
        bottom: 100px !important;
    }

    .info-card {
        margin-bottom: 30px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .pricing-card {
    height: 705px !important;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .pricing-card {
    height: 700px !important;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
  .pricing-card {
    height: 666px !important;
  }
}

@media screen and (max-width: 500px) {
    #ap-all {
        display: none !important;
    }

    #ap-1, #ap-2, #ap-3, #ar-1, #ar-2 {
        display: block !important;
    }

    #carousel-content > h2 {
        font-size: 30px !important;
        line-height: 22px !important;
    }

    #carousel-content > h1 {
        font-size: 40px !important;
    }

    #carousel-content > p {
        font-size: 20px !important;
    }

    #carousel-content > div > button {
        font-size: 20px !important;
    }
}

#show-certificate:hover {
    color: #fff;
}

.disable {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: black;
}

.policy-consent {
    visibility: visible;
    opacity: 1;
    transition: visibility 1s, opacity 0.5s linear;
}

.policy-consent.hidden {
    visibility: hidden;
    opacity: 0;
    transition: visibility 1s, opacity 0.5s linear;
}

/* --- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
}

#topbar {
    width: 100%;
}

.site-header header {
    background: #fff;
}

.hidden {
    display: none;
}

/* ---- eSignDG section ---- */

.price-section {
    padding: 40px 0 72px;
}

.section-heading {
    margin-bottom: 24px;
    letter-spacing: 0.025rem;
}

.section-heading h2 {
    color: #162e51;
    font-size: 54px;
    font-weight: 600;
    margin: 0 0 8px;
}

.section-heading p {
    color: #677482;
    font-size: 24px;
    line-height: 23px;
    margin: 0;
    font-family: PSL KandaExtra Pro;
}

.pricing-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 14px 1px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    padding: 16px;
    height: 584px;
    display: flex;
    flex-direction: column;
}

.pricing-badge {
    background: #f0f3f8;
    border-radius: 100px;
    color: #00bde3;
    display: inline-block;
    font-family: "Inter", sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 14px;
    margin-bottom: 12px;
    padding: 10px 14px;
    text-transform: uppercase;
}

.pricing-price {
    margin-bottom: 6px;
}

.pricing-price strong {
    color: #162e51;
    font-family: "Inter", sans-serif;
    font-size: 40px;
    font-weight: 700;
}

.pricing-price span {
    padding-bottom: 5px;
    font-family: PSL Kanda Pro;
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    letter-spacing: 0.24px;
    color: var(--primary-theme);
}

.pricing-card hr {
    border-top: 1px dashed #bfbebe;
    margin: 12px 0 16px;
}

.feature-list li {
    color: #162e51;
    font-size: 24px;
    margin-bottom: 10px;
    padding-left: 22px;
    position: relative;
    font-family: PSL Kanda Pro;
    font-weight: 700;
    line-height: 23px;
    font-style: normal;
    letter-spacing: 0.24px;
}

.plan-feature-list li {
    position: relative;
    padding-left: 30px;
    letter-spacing: 0.0755rem;
}

.plan-feature-list li:before {
    content: "\2713";
    color: #5cb85c;
    position: absolute;
    left: 0;
}

.sub-feature-list {
    list-style-type: circle;
    margin-left: 15px;
    padding-left: 5px;
}

.sub-feature-list li{
    padding-left: 0;
    font-size: 16px;
    margin-bottom: -2px;
}

.sub-feature-list li:before {
    content: none;
}

.info-card {
    background: #f0f3f8;
    border: 1px solid #e5e9ed;
    border-radius: 16px;
    /* margin-top: 120px; */
    padding: 24px;
    padding-bottom: 25px;
}

.info-title {
    color: #061c3d;
    font-size: 38px;
    font-style: normal;
    font-weight: 400;
    line-height: 39.56px;
    font-family: PSL KandaExtra Pro;
    margin: 0 0 20px;
}

.info-card label {
    color: #6f7482;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    line-height: 24px;
    letter-spacing: 0.16px;
}

.info-card label span {
    color: #ed0131;
}

.info-card .form-control {
    border-color: #e5e9ed;
    box-shadow: none;
    font-family: "IBM Plex Sans", sans-serif;
    height: 48px;
    margin-bottom: 10px;
}

#e-sign-dg-section .confirm-btn {
    margin-top: 8px;
    width: 100% !important;
}

#e-sign-dg-section .cta-btn {
    background-color: #00bde3;
    border: 1px solid #00bde3;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    border-radius: 999px;
    width: 100px;
    font-family: PSL Kanda Pro;
    letter-spacing: 0.95px;
}

/* ---- Plan modal ---- */

#planDetailsModal {
    z-index: 1060;
}

#planDetailsModal > div > div {
    border-radius: 16px;
    overflow: hidden;
}

.plan-modal .modal-header {
    background: #f0f3f8;
    border-bottom: 1px solid #e5e9ed;
    padding: 20px 24px;
}

.plan-modal .modal-title {
    color: #162e51;
    font-size: 32px;
    font-weight: 600;
}

.plan-modal .modal-body {
    max-height: 60vh;
    overflow-y: auto;
    padding: 24px;
}

.modal-plan-label {
    color: #00bde3;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.modal-feature-list {
    margin-bottom: 0;
}

#planDetailsModal .modal-dialog {
    width: calc(100% - 32px);
    max-width: 1000px;
    margin: 40px auto;
}

#planDetailsModal .modal-content {
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

#planDetailsModal .modal-header {
    position: relative;
    background: #e9edf1;
    padding: 20px 24px;
    border-bottom: 1px solid #dfe5ea;
}

#planDetailsModal .plan-header-text {
    padding-right: 40px;
}

#planDetailsModal .modal-plan-label {
    margin: 0;
    color: #2bb9e8;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#planDetailsModal .modal-title {
    margin: 0;
    color: #18325f;
    font-size: 38px;
    line-height: 1.1;
    font-weight: 700;
}

#planDetailsModal .btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 12px;
}

#planDetailsModal .modal-body {
    padding: 20px 24px 24px;
    max-height: 70vh;
    overflow-y: auto;
}

#planDetailsModal .modal-footer {
    padding: 18px 28px 24px;
    border-top: 1px solid #e5e9ed;
}

#planDetailsModal .modal-feature-list {
    margin: 0;
}

#planDetailsModal .modal-feature-list li {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 12px;
    padding-left: 18px;
    letter-spacing: 0.9px;
}

/* ---- Responsive ---- */

@media (max-width: 767px) {
    .section-heading h2 {
        font-size: 44px;
    }

    .info-card {
        margin-top: 16px;
        padding: 20px;
    }

    .info-title {
        font-size: 30px;
    }

    #planDetailsModal .modal-dialog {
        width: calc(100% - 24px);
        max-width: none;
        margin: 16px auto;
        display: block;
    }

    #planDetailsModal:before {
        display: none;
    }

    #planDetailsModal .modal-header {
        padding: 16px 18px;
    }

    #planDetailsModal .plan-header-text {
        padding-right: 32px;
    }

    #planDetailsModal .modal-plan-label {
        font-size: 16px;
        letter-spacing: 0.8px;
    }

    #planDetailsModal .btn-close {
        top: 16px;
        right: 16px;
    }

    #planDetailsModal .modal-body {
        padding: 16px 18px 20px;
        max-height: 75vh;
    }

    #planDetailsModal .modal-feature-list li {
        font-size: 18px;
        line-height: 1.25;
        margin-bottom: 10px;
    }
}

/* Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ===== Package Details Table (#package-details) ===== */
#package-details .table-responsive {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #c8d8ea;
}

#package-details .pkg-table {
    font-size: 0.9rem;
    margin-bottom: 0;
    border: none;
}

#package-details .table-bordered > tbody > * {
    border-color: #c8d8ea !important;
}

#package-details .table-bordered > tbody > * > * {
    border-color: #c8d8ea !important;
}

#package-details .pkg-thead {
    background-color: #2bb9e8;
    color: #F0F3F8;
    font-size: 22px;
}

#package-details .pkg-th-label {
    width: 50%;
    text-align: left;
    padding-left: 16px;
}

#package-details .pkg-th-col {
    width: 25%;
    font-family: 'KanitRegular', 'PSLKandaProRegular';
    letter-spacing: 0.075rem;
}

#package-details .pkg-row-header {
    background-color: #e8f4fd;
    font-family: 'KanitRegular', 'PSL Kanda Pro', 'PSL KandaPro', sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.075rem;
}

#package-details .pkg-td-category {
    text-align: left;
    font-weight: 400;
    padding-left: 16px;
    color: #162E51;
    font-size: 18px;
    letter-spacing: 0.075rem;
    font-family: 'KanitRegular';
}

#package-details .pkg-td-category-span {
    text-align: center;
    font-weight: 700;
    padding: 10px 16px;
    font-size: 1rem;
    letter-spacing: 0.5px;
    color: #162E51;
    font-family: 'KanitRegular';
}

#package-details .pkg-td-feature {
    text-align: left;
    padding-left: 24px;
    font-size: 16px;
    letter-spacing: 0.075rem;
    font-family: 'KanitRegular';
}

#package-details .pkg-icon {
    font-size: 1.1rem;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}