[v-cloak] {
    display: none;
}

input {
    font-size: 15px;
}

::-webkit-input-placeholder {
    /* Edge */
    color: #c4c4c4;
}

:-ms-input-placeholder {
    /* Internet Explorer */
    color: #c4c4c4;
}

::placeholder {
    color: #c4c4c4;
}

.cs-pointer {
    cursor: pointer;
}

.cs-default {
    cursor: default !important;
}

.cs-no-drop {
    cursor: no-drop !important;
}

.click-filter {
    cursor: pointer;
}

.noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                    supported by Chrome and Opera */
}

header {
    /* position: fixed; */
    width: 100%;
    z-index: 99;
    top: 0;
    left: 0;
}

header ul {
    margin: 0;
    padding: 0;
    /* overflow: hidden; */
    list-style: none;
    display: flex;
}

header ul li {
    /* display: block; */
    float: left;
    padding: 0px 10px;
}

body.modal-open {
  padding-right: 0 !important;
}

.nav-ct {
    position: fixed;
    width: 100%;
    background: #1667b2;
    z-index: 1090 !important;
    top: 0;
    left: 0;
    height: 68px !important;
}

.nav-logo {
    width: 34%;
}

.enable-cert {
    top: 68px !important;
    position: fixed;
    width: 100vw;
    z-index: 1090 !important;
}

.text-zoom {
    font-size: calc(18px + (36 - 24) * ((100vw - 300px) / (1600 - 300)));
}

.viewer-tool-header {
    background-color: #cccccc;
    justify-content: center;
    display: flex;
    position: fixed;
    width: 100%;
    top: 71px;
    padding: 5px 0px;
}

.viewer-tool-icon {
    padding: 0px 15px;
    cursor: pointer;
}

.pic-profile {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.pic-profile2 {
    width: 45px;
    height: 45px;
    object-fit: cover;
}

.w-15 {
    width: 15%;
}

.w-20 {
    width: 20%;
}

.w-30 {
    width: 30%;
}

.w-40 {
    width: 40%;
}

.w-70 {
    width: 70%;
}

.h-45 {
    height: 50px;
    /* min-height: calc(10vw * 0.25); */
}

.h-200 {
    /* height: 200px; */
    min-height: calc(20vw * 0.25);
}

.h-350 {
    height: 350px;
    /* min-height: calc(35vw * 0.25); */
}

.h-400 {
    /* height: 200px; */
    min-height: calc(40vw * 0.25);
}

.icon-step-qr {
    font-size: 36px;
    color: #2f80ed;
}

.slide-left {
    -webkit-animation: slide-left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation: slide-left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.tool-scal-step3 {
    background-color: #dadada;
    border: 1px solid #bdbdbd;
    width: 100%;
}

/* graph circle */

.svg circle {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear;
    stroke: #1667b2;
    stroke-width: 0.5em;
}

.svg .bar {
    stroke: #c4c4c4;
}

.h-40 {
    height: 42px;
    width: 42px;
}

.circle-noti {
    height: 20px;
    width: 20px;
    padding: 5px;
}

.pt-chat {
    padding-top: 13px;
}

/* end graph circlr */

/* ----------------------------------------------
 * Generated by Animista on 2021-3-2 23:56:23
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info.
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-left
 * ----------------------------------------
 */

@-webkit-keyframes slide-left {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(-100px);
        transform: translateX(-100px);
    }
}

@keyframes slide-left {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(-100px);
        transform: translateX(-100px);
    }
}

/* .carousel-indicators [data-bs-target] {
    width: 20px;
    height: 20px;
    border-radius: 50% !important;
    border: none;
    margin: 5px 5px;
    outline: none;
} */

.line-bd-BD {
    border: 1px solid #bdbdbd;
}

.line-bd-CF {
    border: 1px solid #ced4da !important;
}

.border-rigth-rd {
    border-bottom-right-radius: 0.25rem !important;
    border-top-right-radius: 0.25rem !important;
}

.border-10 {
    border-radius: 10px !important;
}

.a-under-none {
    text-decoration: none;
}

.a-under-none-4F {
    text-decoration: none;
}

.a-under-none-4F:hover {
    color: #4f4f4f;
}

.a-under-none-33 {
    text-decoration: none;
}

.a-under-none-33:hover {
    color: #333333;
}

.box-count-user-setting {
    display: flex;
}

.bg-company-setting-1 {
    background-image: url('/esign/assets/images/bg/total_member_bg.png');
    background-repeat: round;
    width: 300px;
    height: auto;
    padding: 15px 20px;
    margin: 15px 15px 0px 0px;
}

.bg-company-setting-2 {
    background-image: url('/esign/assets/images/bg/activate_success_bg.png');
    background-repeat: round;
    width: 300px;
    height: auto;
    padding: 15px 20px;
    margin: 15px 15px 0px 0px;
}

.bg-company-setting-3 {
    background-image: url('/esign/assets/images/bg/activate_pending_bg.png');
    background-repeat: round;
    width: 300px;
    height: auto;
    padding: 15px 20px;
    margin: 15px 15px 0px 0px;
}

.accept-btn-modal {
    width: 100px;
}

.bg-pass-modal {
    background: #000;
}

.btn-fff {
    background-color: #fff !important;
}

.btn-fff:hover {
    background-color: #0d6efd !important;
}

.font-shadow {
    text-shadow: 0px 1px 4px rgb(0 0 0 / 25%);
}

.icon-lock {
    background: #f2c94c;
    padding: 20px;
    border-radius: 50%;
}

.member-icon {
    font-size: 25px;
}

.icon-right {
    text-align: right;
}

.btn.active {
    -webkit-box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
}

.circle-cnumber {
    width: 22px;
    height: 22px;
    background-color: #1667b2;
    color: #fff;
    border-radius: 50%;
    float: right;
    text-align: center;
    border: 1px solid#FFF;
}

.bg-E1 {
    background: #e1e1e1;
}

.bg-E5 {
    background: #e5e5e5;
}

.bg-F2 {
    background: #f2f2f2;
}

.bg-F4 {
    background: #f4f4f4;
}

.bg-BD {
    background: #bdbdbd !important;
}

.bg-FF {
    background: #ffffff !important;
}

.bg-CI {
    background: #1667b2 !important;
}

.bg-82 {
    background: #828282 !important;
}

.bg-DD {
    background: #dddddd !important;
}

.bg-none {
    background-color: transparent !important;
}

.bd-r-E0 {
    border-right: 1px solid #e0e0e0;
}

.head-title-search {
    max-width: 100%;
    display: flex;
}

.head-title {
    width: 65%;
}

.head-search {
    width: 35%;
    display: flex;
    max-width: 100%;
    position: relative;
}

.head-search .input-search {
    width: 68%;
}

.head-search .input-filter {
    width: 32%;
    text-align: right;
    margin-top: 7px;
}

.display-doc {
    width: 100%;
    height: auto;
    background: #ffffff;
    border: 1px solid #2f80ed;
}

.btn-none-border {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 14px;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.select-none-bg {
    border: none !important;
    background-color: transparent !important;
}

.full-width {
    width: 100%;
}

.draw-box {
    width: 400px;
    height: 100px;
    border: 2px dashed #1667b2;
    border-radius: 5px;
    position: relative;
    margin: auto;
}

/* signature_pad 3.0.0-beta.2 ตั้ง touch-action เองเฉพาะเมื่อมี ontouchstart
   (โหมดเดสก์ท็อป / DeX บน Samsung ไม่มี) -> ลากนิ้วหรือ S Pen กลายเป็นเลื่อนหน้าแทนการวาด */
.signature-pad {
    touch-action: none;
}

.draw-box-ps {
    width: 100px;
    height: 100px;
    border: 2px dashed #1667b2;
    border-radius: 5px;
    position: relative;
    margin: auto;
}

.disabled-card {
  cursor: not-allowed;
  opacity: 0.5;
}

@media only screen and (max-width: 767px) {
    .draw-box {
        width: 100%;
        height: 100px;
        border: 2px dashed #1667b2;
        border-radius: 5px;
        position: relative;
        margin: auto;
    }
}

.btn-select-sign {
    border: 1px solid #555 !important;
}

.profile_img {
    width: auto;
    height: 100px;
}

.show-multi-select {
    width: 100%;
    border: 1px solid #dfdfdf;
    box-sizing: border-box;
    border-radius: 4px;
    min-height: 35px !important;
    padding: 7px 8px !important;
}

.item-multi-select {
    background: #1667b2;
    border-radius: 18px;
    padding: 2px 6px !important;
    color: #fff;
    width: fit-content;
}

.btn-outline-ci {
    color: #1667b2 !important;
    border-color: #1667b2 !important;
}

.chat-preview-img {
    overflow-y: scroll;
    max-height: 500px;
}

.w-inherit {
    width: inherit;
}

.ms-10 {
    margin-left: 10%;
}

.top-secret:focus,
.top-secret:hover {
    color: #eb5757 !important;
    background: #f4dddd !important;
    border-radius: 4px !important;
}

.secret:focus,
.secret:hover {
    color: #ff8a00 !important;
    background: #ffe6cd !important;
    border-radius: 4px !important;
}

.confidential:focus,
.confidential:hover {
    color: #e8af02 !important;
    background: #fff1c5 !important;
    border-radius: 4px !important;
}

.internal-use:focus,
.internal-use:hover {
    color: #219653 !important;
    background: #c2e9d2 !important;
    border-radius: 4px !important;
}

.public:focus,
.public:hover {
    color: #018d22 !important;
    background: #a9e1b6 !important;
    border-radius: 4px !important;
}

@media (max-width: 768px) {
    .box-count-user-setting {
        display: block;
    }

    .bg-company-setting-1 {
        background-image: url('/esign/assets/images/bg/mb_btn_08.png');
        background-repeat: round;
        width: 100%;
        height: auto;
        padding: 15px 20px;
        margin: 15px 15px 0px 0px;
    }

    .bg-company-setting-2 {
        background-image: url('/esign/assets/images/bg/mb_btn_09.png');
        background-repeat: round;
        width: 100%;
        height: auto;
        padding: 15px 20px;
        margin: 15px 15px 0px 0px;
    }

    .bg-company-setting-3 {
        background-image: url('/esign/assets/images/bg/mb_btn_10.png');
        background-repeat: round;
        width: 100%;
        height: auto;
        padding: 15px 20px;
        margin: 15px 15px 0px 0px;
    }

    .nav-btn {
        font-size: 12px !important;
    }

    .nav-logo {
        width: 85% !important;
    }

    .form-switch {
        padding-left: 0 !important;
    }

    .layout-step3-end {
        font-size: calc(
            8px + (14 - 12) * ((100vw - 300px) / (1600 - 300))
        ) !important;
        width: 25% !important;
    }

    .layout-step3-start {
        width: 25% !important;
    }

    .layout-step3-center {
        width: 50%;
        background-color: #e0e0e0;
    }
}

@media screen and (max-width: 991px) {
    .head-title {
        width: 100%;
    }

    .input-search,
    .input-filter {
        display: none;
    }

    .content {
        margin-top: 627px;
        padding: 30px 5px 30px 5px;
    }

    #box-storage {
        border-top: 1px solid #e0e0e0;
        padding-top: 10px;
    }

    .last-thead {
        display: none;
    }

    .PC {
        display: none !important;
    }

    .head-search {
        position: unset;
        width: 0;
    }

    .popup-filter {
        display: none;
        position: absolute;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        text-align: center;
        width: 80%;
        background: #ffffff;
        box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
        border-radius: 4px;
        padding: 15px 15px;
    }

    .pic-profile {
        width: 50px;
        height: 50px;
        object-fit: cover;
    }

    .bg-doc {
        width: 100%;
        min-height: 776px;
        background: #ffffff;
    }

    .h-preview {
        height: calc(100vh - 230px) !important;
        overflow: scroll !important;
    }

    .bg-mb-ff {
        background-color: #fff;
        box-shadow: 0px -6px 7px rgba(0, 0, 0, 0.15);
        margin-top: 0.25rem;
        padding-bottom: 1rem;
        position: fixed;
        bottom: 0;
    }

    .fixed-top-step {
        position: fixed;
        top: 65px;
        right: 0;
        left: 0;
        z-index: 97;
    }

    .w-box-comment {
        width: 100% !important;
    }
}

@media screen and (max-width: 992px) {
    .head-title {
        width: 100%;
    }

    .input-search,
    .input-filter {
        display: none;
    }

    .content {
        margin-top: 62px;
        padding: 30px 5px;
    }

    #box-storage {
        border-top: 1px solid #e0e0e0;
        padding-top: 10px;
    }

    .popup-filter {
        display: none;
        position: absolute;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        text-align: center;
        width: 80%;
        background: #ffffff;
        box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
        border-radius: 4px;
        padding: 15px 15px;
    }

    .w-chat {
        width: 10%;
    }

    .w-chat-r {
        width: 90%;
    }

    .img-proflie-chat {
        width: 35px;
    }

    .preview-chat {
        overflow-y: scroll;
        max-height: 200px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .head-title {
        width: 60%;
    }

    .head-search {
        display: flex;
        width: 40%;
    }

    .head-search .input-search {
        width: 65%;
    }

    .head-search .input-filter {
        width: 35%;
        text-align: right;
    }
}

@media screen and (min-width: 992px) {
    .pages {
        margin-left: 260px;
        min-height: 100vh;
        /* height     : 100vh; */
    }

    .Mobile {
        display: none !important;
    }

    .content {
        /* height    : 100vh; */
        margin-top: 77px;
        padding: 30px 15px 60px 15px;
    }

    .popup-filter {
        display: none;
        position: absolute;
        top: 40px;
        right: 0px;
        width: 100%;
        background: #ffffff;
        box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
        border-radius: 4px;
        padding: 15px 15px;
    }

    .bg-doc {
        width: 100%;
        min-height: 776px;
        background: #fff;
    }

    .h-preview {
        height: calc(100vh - 230px) !important;
        overflow: scroll !important;
    }

    .fixed-top-step {
        position: fixed;
        top: 70px;
        right: 0;
        left: 0;
        z-index: 97;
    }

    .w-chat {
        width: 20%;
    }

    .w-chat-r {
        width: 80%;
    }

    .img-proflie-chat {
        width: 40px;
    }

    .preview-chat {
        overflow-y: scroll;
        max-height: 500px;
    }
}

@media screen and (min-width: 1600px) {
    .w-box-comment {
        width: 55% !important;
    }

    .ms-10 {
        margin-left: 20%;
    }
}

@media (min-width: 1399.99px) {
    .scoll-y {
        overflow-y: scroll;
        /* height: 1049px;
        padding-bottom: 30% !important; */
    }
}

@media screen and (max-width: 502px) {
    .swal2-modal {
        width: 19em;
        font-size: 0.9rem;
    }

    .modal-content-jay {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 60%;
        pointer-events: auto;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid rgba(0, 0, 0, 0.2);
        outline: 0;
    }
}

.borred5 {
    border-radius: 5px;
}

.borred10 {
    border-radius: 10px;
}

.borred15 {
    border-radius: 15px;
}

.borred1515 {
    border-radius: 15px 15px 0px 0px;
}

.noborder {
    border: none !important;
}

.fs20 {
    font-size: 20px;
}

.modal-content-jay {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    outline: 0;
}

.modal-header-jay {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
}

.list-group-item-jay {
    position: relative;
    margin: 0px;
    display: block;
    text-decoration: none;
    padding: 0px;
    margin: 0px;
}

.modal-header-jay-de {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
    padding-bottom: 0px;
}

.color-sec {
    color: #6c757d;
}

.nomagin {
    margin-block-end: 0px;
    padding-bottom: 0px;
}

.p10 {
    padding: 10px;
    padding-bottom: 0px;
}

.pb10 {
    padding-bottom: 10px;
}

.pb15 {
    padding-bottom: 15px;
}

.scrollbar {
    float: left;
    min-height: 50px;
    max-height: 150px;
    width: 65px;
    background: #f5f5f5;
    overflow-y: scroll;
}

.scrollbar2 {
    float: left;
    height: 75px;
    width: 65px;
    overflow-y: scroll;
}

#style-1::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #f5f5f5;
}

#style-1::-webkit-scrollbar {
    width: 12px;
    background-color: #0a0808;
}

.contact-list .nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    border-bottom-width: medium !important;
    border-color: #fff #fff #007bff !important;
    color: #007bff !important;
}

/* .nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border-color: transparent !important;
    border-color: #fff #fff !important;
} */

.nav-tabs .nav-link {
    margin-bottom: -1px;
    border: 1px solid transparent;
    border-bottom: 1px solid #e0e0e0 !important;
    outline: none;
}

.group-contact .accordion-button {
    padding: 0.8rem 1rem;
}

.group-contact .accordion-button::after {
    margin-left: 0.8rem;
}

.group-contact .accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
}

.group-contact .accordion-button:not(.collapsed) {
    background-color: transparent;
}

.accordion-body {
    padding: 0.5rem 1rem !important;
}

.accordion-flush .accordion-item:first-of-type .accordion-button {
    border-bottom-width: 0 !important;
}

.cons_mem .form-check-input:checked {
    background-color: #bdbdbd;
    border-color: #bdbdbd;
}

.detail-doc {
    height: fit-content;
}

.detail-doc .rounded {
    border-radius: 0.6rem !important;
}

.hr-w {
    width: 95% !important;
    margin: auto;
}

.alert-copylink {
    height: auto;
}

.round-recip-title {
    border-top-left-radius: 0.7rem !important;
    border-top-right-radius: 0.7rem !important;
}

.round-recip-detail {
    border-bottom-left-radius: 0.7rem !important;
    border-bottom-right-radius: 0.7rem !important;
}

.round-progress {
    border-radius: 0.7rem !important;
}

.dropdown .dropdown-toggle {
    color: #878787;
}

/**
 * ----------------------------------------
 * EKYC
 * ----------------------------------------
 */

.eKyc-choose {
    border: solid 1px;
    border-radius: 10px;
}

.ekyc-logo {
    max-width: 70% !important;
}
.nodisplay {
    display: unset !important;
}

.btn-choose {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 6px 12px;
    width: 143px;
    height: 47px;
    left: 554px;
    top: 672px;
    background: #007bff;
    border-radius: 4px;
    border-width: 0px !important;
}

.font-color-ffffff {
    color: #ffffff;
    font-size: calc(5px + (26 - 14) * ((100vw - 300px) / (1600 - 300)));
}

.btn-create {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 6px 12px;
    width: 143px;
    height: 47px;
    left: 554px;
    top: 672px;
    background: #e0e0e0;
    border-radius: 4px;
    border-width: 0px !important;
}

.font-color-212529 {
    color: #212529;
    font-size: calc(6px + (20 - 12) * ((100vw - 300px) / (1600 - 300)));
}

@media only screen and (max-width: 767px) {
    .font-color-212529 {
        color: #212529;
        font-size: calc(12px + (26 - 14) * ((100vw - 300px) / (1600 - 300))) !important;
    }

    .font-color-ffffff {
        color: #ffffff;
        font-size: calc(12px + (26 - 14) * ((100vw - 300px) / (1600 - 300)));
    }

    .pad-l-50 {
        padding-left: 0px !important;
    }
    .pad-r-50 {
        padding-right: 0px !important;
    }
}

.font-color-1667B2 {
    color: #1667b2 !important;
}

.bg-c-1667B2 {
    background-color: #1667b2 !important;
}

.pad-l-50 {
    padding-left: 50px;
}

.pad-r-50 {
    padding-right: 50px;
}

.pad-l-20 {
    padding-left: 20px !important;
}

.pad-r-20 {
    padding-right: 20px !important;
}

.color-C4 {
    color: #c4c4c4 !important;
}

.bg-color-C4 {
    background-color: #c4c4c4 !important;
}

.bg-color-E0E0E0 {
    background-color: #e0e0e0 !important;
}

.modal-content-viewer {
    /* width: 620px !important; */
    /* height: 506px; */
    left: 410px;
    top: 545px;
    background: #ffffff;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
}

@media only screen and (max-width: 767px) {
    .modal-content-viewer {
        width: 100% !important;
        /* height: 506px; */
        left: 410px;
        top: 545px;
        background: #ffffff;
        border-radius: 5px;
        display: flex;
        flex-direction: column;
        pointer-events: auto;
        background-color: #fff;
        background-clip: padding-box;
    }
}

.neww728 {
    height: 620px !important;
}

.nav-item-flex02 {
    flex: 0.2 0 auto !important;
}

.nav-item-flex0 {
    flex: 0 0 auto !important;
}

.btn-F2C94C {
    background: #f2c94c;
    border-radius: 4px;
}

.btn-E0E0E0 {
    background: #e0e0e0 !important;
    border-radius: 4px;
    outline: none;
}

.btn-E0E0E0.active {
    background: #f2c94c !important;
    border-radius: 4px;
    outline: none;
}

.card-170 {
    width: 170px !important;
    height: 170px !important;
    border: 1px solid #dadada !important;
    border-radius: 10px !important;
}

.card-announcement {
  background-color: white;
  border:none;
  border-radius: 1rem;
}

@media screen and (max-height: 420px) {
    .modal-content-viewer {
        height: 70% !important;
        padding-bottom: 1rem !important;
        margin-top: 68px !important;
    }
    .row-upload{
        grid-template-columns: 1fr;
        display: grid;
        grid-template-columns: 1fr;
        grid-row-gap: 1rem;
        justify-items: center;
    }
    .m-30202020 {
        margin: 15px 10px 10px 10px !important;
    }
}

@media only screen and (max-width: 767px) {
    .card-170 {
        width: 85% !important;
        height: 100% !important;
        border: 1px solid #dadada !important;
        border-radius: 10px !important;
    }
    .m-30202020 {
        margin: 15px 10px 10px 10px !important;
    }
}

.card-170.active {
    border: 1px solid #4220bb !important;
}

.m-auto {
    margin: auto;
}

.m-30202020 {
    margin: 30px 20px 20px 20px;
}

.text-cen {
    text-align: center;
}

.m-l-20 {
    margin-left: 20px !important;
}

.m-t-20 {
    margin-top: 20px !important;
}

.m-t-10 {
    margin-top: 10px !important;
}

.m-t-50 {
    margin-top: 50px !important;
}

.m-r-20 {
    margin-right: 20px !important;
}

.m-l-50 {
    margin-left: 50px !important;
}

.m-r-50 {
    margin-right: 50px !important;
}

.m-b-40 {
    margin-bottom: 40px !important;
}

.m-b-20 {
    margin-bottom: 20px !important;
}

.m-b-10 {
    margin-bottom: 10px !important;
}

.m-b-5 {
    margin-bottom: 5px !important;
}

.color-9A {
    color: #9a9a9a;
}

.pad-b-50 {
    padding-bottom: 50px;
}

.dont-sign {
    width: 300px !important;
    margin-top: 50px !important;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    color: #595959;
    margin: auto;
}

.btn-sign {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 6px 12px;
    background: #1667b2 !important;
    border-radius: 4px;
    margin: 0px 150px 40px 150px;
}

.fontRochester {
    font-family: 'Rochester', cursive !important;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 18px;
}

.fontRanga {
    font-family: 'Ranga', cursive !important;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 18px;
}

.fontRedressed {
    font-family: 'Redressed', cursive !important;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 18px;
}

.w-110 {
    width: 110px !important;
}

.bg-DA {
    background-color: #dadada !important;
    color: #595959 !important;
}

.button-viewer {
    width: 112px ;
    height: 35px ;
}

.deleteall {
    font-family: Prompt;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    text-decoration-line: underline;
    color: #c4c4c4;
}

.profile-sign-card {
    width: 170px;
    height: 113px;
    background: #f3f3f3;
    border: 1px solid #c4c4c4;
    box-sizing: border-box;
    border-radius: 4px;
}

.paginate_button {
    background: #ffffff;
    border-radius: 4px;
    font-size: 16px;
    color: #007bff;
    border: 1px solid #dee2e6;
    margin: 0px 0px;
    padding: 5px 15px;
    text-decoration: none !important;
    cursor: pointer;
    user-select: none;
}

.current {
    background: #007bff;
    color: #ffffff;
}

.disabled {
    color: #6c757d !important;
    pointer-events: none !important;
}

.pages-container {
    max-width: 3rem;
}

.swal2-modal {
    border-radius: 18px !important;
}

.swal2-title {
    font-weight: bold !important;
}

.text-exp {
    color: #674ea7 !important;
    text-decoration-line: underline;
}

.btn-color-to-ndid {
    background-color: #f9c01a !important;
    border-color: #f9c01a !important;
    background: #f9c01a !important;
    border-radius: 30px !important;
    color: #333333 !important;
    width: 50% !important;
}

.btn-color-to-ndid:hover {
    background-color: #f9c01a;
    border-color: #f9c01a;
    background: #f9c01a;
    border-radius: 30px;
    color: #333333;
}

.hr-popup-filter {
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.h-progress-02 {
    height: 0.2rem !important;
}

.progress {
    background-color: #bdbdbd !important;
}

.dy-none {
    display: none;
}

hr {
    height: 5px;
}

/* #last_document,
table {
    border-bottom: 1px solid #F2F2F2 !important;
}

#last_document,
table thead th {
    border-bottom   : 1px solid #DFDFDF !important;
    background-color: #FFFFFF !important;
}

#last_document {
    border: 1px solid #DFDFDF !important;
}

#last_document table tbody tr:nth-child(odd) {
    background-color    : #FFFFFF !important;
    --bs-table-accent-bg: #FFFFFF !important;
}

#last_document table tbody tr:nth-child(even) {
    background-color    : #F2F2F2 !important;
    --bs-table-accent-bg: #F2F2F2 !important;
} */

.list_upload {
    height: 54px;
    padding: 9px 10px !important;
}

.mt-7 {
    margin-top: 4rem !important;
}

.hr-blue {
    border: 1px solid #1667b2;
}

.dropdown-menu-custom {
    border-radius: 0px;
    inset: 10px auto auto -0px !important;
}

.dropdown-menu-custom li .dropdown-header {
    font-style: normal !important;
    font-weight: 500 !important;
    font-size: calc(
        12px + (14 - 12) * ((100vw - 300px) / (1600 - 300))
    ) !important;
    color: #333333 !important;
}

.dropdown-menu-custom li .dropdown-item {
    font-style: normal !important;
    font-weight: normal !important;
    font-size: calc(12px + (14 - 12) * ((100vw - 300px) / (1600 - 300)));
    color: #4f4f4f !important;
}

.dropdown-toggle-custom::after {
    vertical-align: 0.1em !important;
}

.text-out-line {
    width: 100%;
    text-align: center;
    border-bottom: 0.5px solid #dadada;
    line-height: 0.1em;
    margin: 10px 0 20px;
}

.text-in-line {
    background: #f2f2f2;
    /* padding  :0 10px; */
    margin-right: 15%;
}

.btn-white2 {
    background: #ffffff !important;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
}

.btn-gray {
    background: #6c757d !important;
    color: #ffffff !important;
    border-radius: 5px;
}

.btn-yellow {
    background: #ffc107 !important;
    border-radius: 5px;
}

.btn-green {
    background: #219653 !important;
    border-radius: 5px;
}

.btn-light-blue {
    background: #4799ff !important;
    border-color: #4799ff;
    border-radius: 5px;
}

.btn-red {
    background: #eb5757 !important;
    color: #ffffff !important;
    border-radius: 5px;
}

.btn-qr {
    border: 0;
    width: 30px !important;
    height: 30px;
    border-radius: 50px;
    background-color: #2f80ed;
    opacity: 1 !important;
    top: 50% !important;
    margin: 0px 15px !important;
}

.shadow-btn {
    box-shadow: 0px 1px 4px rgb(0 0 0 / 25%);
}

.menu-folder-edit {
    padding: 8px 10px 0px 10px !important;
}

.menu-folder-remove {
    padding: 0px 10px 8px 10px !important;
}

#profileMobile {
    display: flex;
}

#profileMobile ul li {
    float: left;
}

.swal2-title {
    font-weight: 300 !important;
}

.img_detail_document {
    width: 250px;
    -webkit-filter: blur(3px);
    filter: blur(3px);
    cursor: pointer;
    border: 5px solid #c4c4c4;
}

.text-overflow-dot {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.position-alert {
    position: fixed;
    width: 60%;
    z-index: 99;
}

.img_logo {
    width: 100px !important;
    height: auto;
}

.box-number {
    background-color: #fff;
    width: 50px;
    height: 50px;
}

@media only screen and (max-width: 767px) {
    .box-number {
        background-color: #fff;
        width: 25px;
        height: 25px;
    }
}

.pd-t-2 {
    padding-top: 2rem;
}

.modal-none-bg {
    background-color: transparent !important;
    border: none !important;
}

.limit-font-dropdown-folder {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 150px;
}

.bd-callout {
    /* padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem; */
    /* border: 1px solid #e9ecef !important; */
    border-radius: 0.25rem !important;
    border-bottom-width: 0.5rem !important;
}

.max-limit-logo-company {
    max-width: 160px;
}

.email-logo-sup-file {
    color: #ff8a00;
}

.email-logo-upload-wrapper {
    position: relative;
    display: inline-block;
}

.email-logo-circle {
    padding: 4px;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: contain;
    display: block;
    border: 1px #E6E6E6 solid;
}

.email-logo-edit-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    border: 1px solid #E6E6E6;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    color: #000;
    font-size: 12px;
}

.email-logo-edit-btn:hover {
    background: #f5f5f5;
}

.email-logo-edit-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.qr-box {
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
    width: 100%;
    text-align: center;
    display: block;
}

.step-qr {
    color: #fff;
    background-color: #2f80ed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
}

.img-qr {
    width: 85%;
}

.box-your-signature {
    border: 1px solid #dadada;
    box-sizing: border-box;
}

/* .rq-frame{
    background-image: url("/images/qr_frame.svg");
    background-repeat: no-repeat;
    width: 350px;
} */

.tooltip2 {
    position: relative;
    display: inline-block;
    border-bottom: 1px solid #1667b2;
}

.tooltip2 .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #fff;
    color: #000;
    text-align: center;
    border-radius: 5px;
    position: absolute;
    z-index: 1;
}

.tooltip2:hover .tooltiptext {
    visibility: visible;
}

.box-template {
    border: 1px solid rgba(224, 224, 224, 1);
    height: 185px;
    width: 148px;
    border-radius: 4px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    max-width: 100%;
}

.layout-text-template-start {
    width: 90%;
    padding-right: 5px;
}

.layout-text-template-end {
    width: 10%;
}

.template-list {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

.template-item {
    float: left;
    width: 150px;
    max-width: 100%;
}

.box-step {
    background-color: #fff;
    padding: 10px;
}

.layout-step3-start {
    width: 20%;
    background-color: #f2f2f2;
}

.layout-step3-center {
    width: 60%;
    background-color: #e0e0e0;
}

.layout-step3-end {
    width: 20%;
    background-color: #f2f2f2;
}

.scoll-y {
    overflow-y: scroll;
    /* height: 550px;
    padding-bottom: 30% !important; */
    height: calc(
        550px + (1029 - 550) * ((100vh - 300px) / (1600 - 300))
    ) !important;
    padding-bottom: 100%;
}

.box-upload-stamp {
    border: 1px solid #dadada;
    box-sizing: border-box;
    border-radius: 10px;
    cursor: pointer;
    height: 180px;
}

.box-upload-stamp:focus {
    border: 3px solid #007bff;
}

.img-stamp {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.dz-image,
.dz-details,
.dz-size,
.dz-filename,
.dz-progress,
.dz-error-message,
.dz-error-mark,
.dz-success-mark ,
.dz-default, .dz-message{
    display: none
}

.box-upload-signImg {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 1px solid #dadada;
    width: 400px;
    height: 100px;
    border-radius: 5px;

}

.nav-modal-upload{
    flex-wrap: nowrap !important;
    gap: 1rem;
}

.row-upload{
    flex-wrap: nowrap !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr;
}

.to-center {
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.w-130 {
    width: 130% !important;
}


.tab-package-g {
    width: 90%;
    padding: 20px;
    border-radius: 8px;
    border-left: 6px solid #198754;
    background: #A2DFB0;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 25px;
}
.con-tab-package {
    display: flex;
    justify-content: center;
    align-items: center;
}
.tab-package-r {
    width: 90%;
    padding: 20px;
    border-radius: 8px;
    border-left: 6px solid #FF0000;
    background: #ffa5ad;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 25px;
}

.tab-package-y {
    width: 90%;
    padding: 20px;
    border-radius: 8px;
    border-left: 6px solid #FABB05;
    background: #fae093;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 25px;
}

.rect-fill-g {
    fill: #29A745;
}

.rect-fill-r {
    fill: #FF0000;
}

.rect-fill-y {
    fill: #FABB05;
}

.fs-10{
font-size: 10px !important;
}
.fs-14{
    font-size: 14px !important;
}

/* PLAN PAGE */
.swal2-plan-container .swal2-styled.swal2-deny {
    color: #637381;
}

/* DOCUMENT PAGE */
.model-combine {
    padding: 0.8rem 1rem;
    border-top: 1px solid #dee2e6;
}


/* Customize Email */
.email-custom-preview {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.setting-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.preview-box {
    width: 100%;
}

.costomize-mail-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Customize section – ตรง design: title ดำ, subtitle + desc ดำ/เทา, แถวซ้าย label+desc ขวา swatch+hex */
.email-customize-title {
    font-size: 18px;
    font-weight: 600;
    color: #545454;
}

.email-customize-subtitle {
    color: #545454;
    font-weight: 400;
}

.email-color-form .email-color-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.email-color-form .email-color-row:last-of-type {
    margin-bottom: 0;
}

.email-color-left {
    flex: 0 0 auto;
    width: 220px;
    min-width: 220px;
}

.email-color-label {
    color: #545454;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 2px;
    display: block;
}

.email-color-desc {
    color: #919191;
    font-size: 14px;
    font-weight: 300;
}

.email-color-colon {
    flex-shrink: 0;
    color: #545454;
    font-size: 16px;
}

.email-color-form .color-picker-container {
    flex: 0 0 auto;
    min-width: 160px;
}

.email-color-hex {
    padding: 0 10px;
    font-size: 14px;
    color: #333;
}

.color-picker-container {
    display: flex;
    padding: 2px;
    /* width: 100%; */
    align-items: center;
    gap: 0;
    border-radius: 4px;
    border: 1px solid #E0E0E0;
    background: #fff;
    overflow: hidden;
}

.color-picker-container .input-color {
    width: 80px;
    height: 30px;
    min-width: 80px;
    border: none;
    /* border-right: 1px solid #E0E0E0; */
    border-radius: 2px;
    cursor: pointer;
    padding: 4px;
    background: #fff;
}

.email-additional-text textarea.email-additional-textarea {
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    resize: vertical;
    min-height: 80px;
}

.email-color-actions {
    margin-top: 24px;
}

.btn-email-save-disabled {
    background-color: #BBBBBB !important;
    border-color: #BBBBBB !important;
    color: #fff;
    cursor: not-allowed;
}

.input-color {
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.text-Btn {
    color: #545454;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}



.side-bar {
    width: 20%;
    padding: 24px 8px;
    flex-direction: column;
    gap: 16px;
    border-radius: 8px;
    background: #EBF6FF;
}

.sub-side1 {
    height: 32px;
    align-self: stretch;
    border-radius: 16px;
    background: var(--Darker-Dark-4, #E0E0E0);
}

.sub-side2 {
    height: 28px;
    align-self: stretch;
    border-radius: 16px;
    background: var(--Primary-Subtle, #C7E7FF);
}

.sub-side3 {
    height: 16px;
    align-self: stretch;
    border-radius: 16px;
    background: var(--Darker-Dark-4, #E0E0E0);
}

.body-preview {
    display: flex;
    padding: 16px;
    gap: 16px;
    border-radius: 16px;
    border: 1px solid var(--Darker-Dark-4, #E0E0E0);
    background: var(--Light-Light-4, #FFF);
}

.box-3 {
    display: flex;
    padding: 8px;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    background: var(--Light-Light-1, #F0F0F0);
    border-radius: 16px;
}

.bg-box-3 {
    display: flex;
    padding: 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
    background: var(--Light-Light-4, #FFF);
    border-radius: 8px;
}

.email-preview-line-under-logo {
    height: 4px;
    width: 100%;
    align-self: stretch;
    border-radius: 0;
    flex-shrink: 0;
}

.email-preview-subject {
    margin-bottom: 8px;
}

.email-preview-sender {
    margin-bottom: 12px;
}

.email-preview-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #E0E0E0;
    flex-shrink: 0;
}

.email-preview-sender-line {
    height: 8px;
    width: 120px;
    border-radius: 4px;
    background: #E0E0E0;
}

.email-preview-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    gap: 8px;
    align-self: stretch;
    text-align: center;
}

.email-preview-heading {
    font-size: 16px;
    font-weight: 600;
    color: #545454;
    margin: 0 0 2px 0;
}

.email-preview-heading-sub {
    font-size: 14px;
    font-weight: 400;
    color: #333;
    margin-bottom: 8px;
}

.email-preview-cta {
    width: 100%;
    display: flex;
    justify-content: center;
}

.email-preview-btn {
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    border: none;
    cursor: default;
}

.email-preview-placeholder-line {
    height: 8px;
    width: 100%;
    max-width: 280px;
    border-radius: 4px;
    background: #E0E0E0;
}

.email-preview-placeholder-line.short {
    max-width: 180px;
}

.email-preview-additional-box {
    width: 100%;
    max-width: 320px;
    border-radius: 8px;
    padding: 12px 16px;
    text-align: center;
}

.email-preview-additional-text {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    margin: 0;
    white-space: pre-line;
}


.content-side {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    flex: 1 0 0;
}

.email-content {
    border-radius: 8px;
    display: flex;
    padding: 16px 10px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    align-self: stretch;
}

.box-2-sub-1 {
    padding: 24px;
    border-radius: 100%;
    background: #E0E0E0;
}

.box-1-item {
    width: 25%;
    background: #E0E0E0;
    height: 16px;
    border-radius: 16px;
}

.box-2-item {
    width: 60%;
    background: #E0E0E0;
    height: 16px;
    border-radius: 16px;
}

.box-3-item {
    width: 15%;
    background: #E0E0E0;
    height: 16px;
    border-radius: 16px;
}

.item-email-1 {
    background: #E0E0E0;
    height: 8px;
    border-radius: 16px;
    width: 20%;
}

.item-email-2 {
    background: #E0E0E0;
    height: 8px;
    border-radius: 16px;
    width: 70%;
}

.item-email-3 {
    background: #E0E0E0;
    height: 8px;
    border-radius: 16px;
    width: 50%;
}

@media only screen and (min-width: 1440px) {
    .setting-box {
        width: 45%;
    }

    .preview-box {
        width: 55%;
    }

    .costomize-mail-box{
        flex-direction: row;
    }
}

/* Set EXP & Reminder  */
.gap-24 {
    gap: 24px;
}

.toggle-btn {
    width: 50px;
    height: 24px;
    background-color: #b3b3b3;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s;
  }
  .toggle-btn-active {
    background-color: #0767B0;
  }

  .toggle-switch {
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    transition: left 0.3s;
  }
  .toggle-switch-on {
    left: 28px;
  }
  .toggle-switch-off {
    left: 2px;
  }

  .disabled-custom-email {
    opacity: 0.5;
    pointer-events: none; /* ปิดการคลิก */
  }
  /* edit and delete sugn all */

  .edit-delete-buttons{
    z-index: 9999;
  }
  .grp-hover-btn{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 8px;
    border: 1px solid #DADADA;
    background: #FFF;
    box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.10);
  }

  .edit-btn {
    width: 100%;
    cursor: pointer;
    padding: 12px 16px;
    /* background-color: rgb(179, 234, 183); */
    border-radius: 8px;
    border-radius: 8px 8px 0 0;
  }
  .delete-btn {
    width: 100%;
    cursor: pointer;
    padding: 12px 16px;
    /* background-color: rgb(224, 108, 108); */
    border-radius: 8px;
    border-radius: 0 0 8px 8px;
  }

.edit-btn:hover,
.delete-btn:hover {
    background-color: #1666B2;
    color: #FFF;
}

.swal-confirm-red {
    background-color: #F00 !important;
    color: white !important;
    padding: 10px !important;
  }

  .swal-cancel-gray{
    background-color: #F8F9FA !important;
    color: black !important;
    padding: 10px 30px !important;
  }

  /* Document ID Position */
  .img-doc-id-pos{
    height: 300px;
    width: auto;
    object-fit: cover;
  }

  .radio-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 48px;
  }

  .radio-item {
    flex: 0 0 calc(50% - 24px);
    display: block;
  }

  @media (min-width: 768px) {
    .radio-item {
      flex: 0 0 100%;
    }

    .radio-wrapper {
      gap: 16px 0;
    }
  }
  .btn-line-add {
    border: 1px solid #06C755;      /* สีเขียว LINE */
    color: #222;                    /* สีตัวอักษร */
    background-color: #fff;         /* พื้นหลังขาว */
  }

  .btn-line-add:hover {
    background-color: #06C755;
    border: 1px solid #06C755;      /* สีเขียว LINE */
    color: #fff;
  }

  .btn-line-add .fa-line {
    color: #06C755;
    font-size: 1.2rem;
    vertical-align: middle;
  }

  .btn-line-add:hover .fa-line {
    color: #fff;
  }


/* Fade content */
.fade-enter-active, .fade-leave-active {
    transition: opacity 0.3s ease;
  }
  .fade-enter, .fade-leave-to {
    opacity: 0;
  }

  .progress-line {
    position: absolute;
    left: 6px;
    width: 2px;
    background: #dee2e6;
    transition: height 0.3s ease, background 0.3s ease;
  }
.progress-line-active {
  background: linear-gradient(to bottom, #0767B0 0%, #0767B0 100%);
}
.circle-anim {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  /* border: 2px solid #dee2e6; */
  background-color: #0767B0;
  transition: all 0.3s ease;
}
.circle-upcoming {
  background-color: #E6E6E6;
  border-color: #ced4da;
}
.circle-complete {
    background-color: #0767B0;
    border-color: #0767B0;
}
.circle-current {
  background-color: #0767B0;
  border-color: #0767B0;
  /* box-shadow: 0 0 0 2px rgba(7, 103, 176, 0.15); */
}


.customTooltipMoreSigner .tooltip-inner {
    width: max-content;
    max-width: 100%;
    text-align: left ;
}
  .customTooltipMoreSigner .tooltip-inner p {
    padding: 0 ;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
  .customTooltipMoreSigner .tooltip-inner .tooltip-header {
    text-align: center ;
    font-size: 0.98rem;
    font-weight: bolder;
}


/* list doc Ctrl btn */

.white-dropdown-primary{
    border-radius: 6px 0px 0px 6px !important;
    border-bottom: 1px solid #0767B0;
    border-top: 1px solid #0767B0;
    border-left: 1px solid #0767B0;
    white-space: nowrap;
    width: 75%;

}
.white-dropdown-secondary{
    border-radius: 0px 6px 6px 0px !important;
    border: 1px solid #0767B0;
    background-color: #fff;
}
.blue-dropdown-primary{
    border-radius: 6px 0px 0px 6px !important;
    border-bottom: 1px solid #FFFFFF;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    white-space: nowrap;
    width: 75%;

}
.blue-dropdown-secondary{
    border-radius: 0px 6px 6px 0px !important;
    border: 1px solid #ffffff;
    background-color: #0767B0;
    color: #ffffff;
}

.btn-view-documents{
    border-radius: 6px !important;
    border: 1px solid #0767B0;
    white-space: nowrap;
    background-color: #ffffff;
}

.dropdown-hover-wrapper {
    position: relative;
    display: inline-block;
}

.submenu-hover {
    display: none;
    position: absolute;
    top: 30px !important;
    left: 0;
    z-index: 1050;
    min-width: 160px;
    border-radius: 0.75rem !important;
}

.dropdown-hover-wrapper:hover .submenu-hover {
    display: block;
}

.dropdown-hover-wrapper ul {
    transition: all 0.3s ease;
}

.collapse-item{
    display: block;
    width: 100%;
    padding: .25rem 1rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.ctrl-btn {
    width: 100%;
}

.chkbox-column{
    width: 4% !important;
    text-wrap: nowrap;
}

.icon-column{
    width: 4% !important;
    text-wrap: nowrap;
}
.subject-column{
    width: 40% !important;
    text-wrap: nowrap;
}

.sender-column{
    width: 10% !important;
    text-wrap: nowrap;
}

.status-column{
    width: 10% !important;
    text-wrap: nowrap;
}

.date-column{
    width: 10% !important;
    text-wrap: nowrap;
}

.edit-column{
    width: 10% !important;
    text-wrap: nowrap;
}

.comment-column{
    width: 5% !important;
    text-wrap: nowrap;
}

.ctrlBtn-column{
    width: 10% !important;
    text-wrap: nowrap;
}

.ctrlBtn-blue{
    border: 1px solid #ffffff;
    background: #0767B0;
    color: #ffffff ;
    /* width: 75%; */
}

.ctrlBtn-white{
    border: 1px solid #0767B0;
    background: #FFF;
    color: #545454;
    /* width: 75%; */
}

.ctrlBtn-outline{
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    text-align: center;
}


  /* @media screen and (min-width: 1025px) {
    .ctrl-btn {
      width: 80%;
    }
  }

  @media screen and (min-width: 1990px) {
    .ctrl-btn {
      width: 60%;
    }
  } */


  /* Extension Page */
.extension-card {
    width: 100%;
    height: 200px;
}

.extension-card {
    width: 400px;
    height: 200px;
    overflow: hidden;
}
.extension-card .card-body {
    padding: 0.35rem 0.5rem;
    font-size: 0.7rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.extension-card .card-body .mb-2 {
    margin-bottom: 0.15rem !important;
}

.extension-card .card-body .mb-3 {
    margin-bottom: 0.15rem !important;
}

.extension-card .fw-semibold {
    font-size: 0.7rem;
}

.extension-card .small,
.extension-card .text-muted {
    font-size: 0.65rem;
}

.extension-card .btn {
    padding: 0.15rem 0.4rem;
    font-size: 0.65rem;
}


/* Mobile: เรียงจากบนลงล่าง ความกว้างเต็มพื้นที่ */
@media (max-width: 767px) {
    .card-connection-extension {
        flex-direction: column;
        align-items: stretch;
    }
    .card-connection-extension .extension-connection-card {
        width: 100%;
        max-width: none;
    }
    .card-connection-extension .extension-connection-card-inner {
        width: 100%;
        min-width: 0;
        min-height: 0;
        height: auto;
    }
}

/* Tablet / Laptop (768px–1024px): แนวนอน การ์ดปรับขนาดพอดีกับจอ */
@media (min-width: 768px) and (max-width: 1024px) {
    .card-connection-extension {
        flex-direction: row;
        flex-wrap: nowrap;
    }
    .card-connection-extension .extension-connection-card {
        flex: 1 1 0;
        min-width: 0;
    }
    .card-connection-extension .extension-connection-card-inner {
        width: 100%;
        height: 200px;
        min-width: 0;
        min-height: 200px;
    }
    /* การ์ด LINE เมื่อเชื่อมต่อ: ปุ่มและ badge ไม่ยืดเต็มความสูง */
    .card-connection-extension .extension-connection-card-line .extension-card-footer-connected-line {
        flex: 0 0 auto !important;
        align-items: center;
    }
}

/* การ์ด LINE เมื่อเชื่อมต่อแล้ว: ปุ่มยกเลิกและ badge ไม่ยืดเต็มความสูง */
.card-connection-extension .extension-connection-card-line .extension-card-footer-connected-line {
    flex: 0 0 auto !important;
    align-items: center;
}
.card-connection-extension .extension-connection-card-line .extension-card-footer-connected-line .connected-badge,
.card-connection-extension .extension-connection-card-line .extension-card-footer-connected-line .btn {
    flex: 0 0 auto;
    align-self: center;
}

/* เมื่อยังไม่เชื่อมต่อ: ปุ่มเชื่อมต่อเต็มการ์ด */
.card-connection-extension .extension-connection-card-inner .extension-card-footer-disconnected {
    flex: 1;
    align-items: stretch;
    min-height: 0;
}
.card-connection-extension .extension-connection-card-inner .extension-connect-btn-full {
    flex: 1;
    display: flex;
    align-items: stretch;
    min-width: 0;
    flex-direction: column;
}
.card-connection-extension .extension-connection-card-inner .extension-connect-btn-full .btn {
    flex: 1;
    width: 100%;
}

/* PC (1025px+): การ์ด 400x200px เรียงแถวเดียวกัน */
@media (min-width: 1025px) {
    .card-connection-extension {
        flex-direction: row;
        flex-wrap: nowrap;
    }
    .card-connection-extension .extension-connection-card {
        flex: 0 0 auto;
        width: 400px;
        max-width: none;
    }
    .card-connection-extension .extension-connection-card-inner {
        width: 400px;
        height: 200px;
        min-width: 400px;
        min-height: 200px;
    }
    /* การ์ด LINE เมื่อเชื่อมต่อ: ปุ่มและ badge ไม่ยืดเต็มความสูง */
    .card-connection-extension .extension-connection-card-line .extension-card-footer-connected-line {
        flex: 0 0 auto !important;
        align-items: center;
    }
}

.tooltipExtension {
    position: relative;
    display: inline-block;
}

.tooltipExtension .tooltiptext {
    visibility: hidden;
    width: 200px;
    min-width: 180px;
    background-color: #fff;
    color: #000;
    text-align: left;
    border-radius: 5px;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 8px;
    z-index: 1050;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

/* tooltip ลอยขึ้นด้านบน (relative to button) */
.tooltipExtension .tooltiptext.tooltiptext-above {
    left: 50%;
    top: auto;
    bottom: 100%;
    transform: translateX(-50%);
    margin-left: 0;
    margin-bottom: 8px;
    text-align: center;
    white-space: nowrap;
    width: auto;
    min-width: 120px;
    padding: 6px 12px;
}

.tooltipExtension:hover .tooltiptext {
    visibility: visible;
}

/* ขยายพื้นที่ hover ด้านบน เพื่อให้ขยับเมาส์ไปกดลิงก์ใน tooltip ได้โดย tooltip ไม่หาย */
.tooltipExtension.tooltipExtension-bridge {
    padding-top: 70px;
    margin-top: -70px;
}

/* ลิงก์ใน tooltip (ไปหน้า plans) */
.tooltipExtension a.tooltiptext.tooltiptext-above {
    display: block;
    cursor: pointer;
}

/* ให้ tooltip โผล่พ้นการ์ดได้ */
.card-connection-extension .extension-connection-card-inner .card-body {
    overflow: visible;
}
.card-connection-extension .extension-connection-card-inner {
    overflow: visible;
}

/* Extension card title */
.extension-card-title {
    font-style: normal;
    font-weight: 450;
    font-size: calc(20px + (22 - 20) * ((100vw - 300px) / (1600 - 300)));
    color: #2B2B2B;
}

/* Lock badge on extension card (same line as title, top right) */
.extension-card-lock-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: #FAFAFA;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #545454;
    flex-shrink: 0;
}
.extension-card-lock-badge i {
    font-size: 10px;
}

/* Extension card description */
.extension-card-desc {
    font-style: normal;
    font-weight: normal;
    font-size: calc(14px + (14 - 12) * ((100vw - 300px) / (1600 - 300)));
    color: #919191;
}


  /* GGCHAT FN */
  .btn-noti-type {
    opacity: 1;
    border-radius: 6px;
    border: 1px solid #BBBBBB ;
    padding: 8px 12px;
    background: var(--Light-Light-4,#FFFFFF);
    color: var(--Darker-Dark-1,#545454);
}
.btn-noti-type-active {
  opacity: 1;
  border-radius: 6px;
  border: 1px solid #0767B0 ;
  padding: 8px 12px;
  background: #EBF6FF;
  color: #0767B0;
}

.sel-all-btn{
  background-color: transparent;
  border: none;
  color: #0767B0;
}

.sel-all-btn:focus,
.sel-all-btn:active {
outline: none;
box-shadow: none;
}
.step-badge {
  background: #FAFAFA;
  color: #545454;
  border-radius: 40px;
  padding: 2px 10px;
  opacity: 1;
  width: fit-content;
}
.connected-badge {
  background: #EBF6FF;
  color: #0767B0;
  border-radius: 40px;
  padding: 2px 10px;
  opacity: 1;
  width: fit-content;
}
.disconnected-badge {
  background: #ed9999;
  color: rgb(152, 25, 25);
  border-radius: 40px;
  padding: 2px 10px;
  opacity: 1;
  width: fit-content;
}

.active-type {
  background: #F0FFF3;
  color: #29A847;
  border-radius: 40px;
  padding: 2px 10px;
  opacity: 1;
  width: fit-content;
}

/* Upload UI redesign — custom drop zone + file list */
.upload-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}
.upload-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 12px 16px;
  border-radius: 8px 8px 0 0;
  font-size: 16px;
  font-weight: 500;
}

.upload-dropzone-custom {
  border: 2px dashed #cfd8dc;
  border-radius: 8px;
  padding: 32px 16px;
  text-align: center;
  cursor: pointer;
  background: #fafafa;
  transition: border-color .15s ease, background .15s ease;
}
.upload-dropzone-custom:hover,
.upload-dropzone-custom.drag-over {
  border-color: #0767B0;
  background: #f0f6fc;
}
/* Children must not capture pointer/drag events so dragleave only fires
   when the mouse truly leaves the dropzone boundary (not just moves to a child). */
.upload-dropzone-custom * {
  pointer-events: none;
}
.upload-cloud-icon {
  font-size: 36px;
  color: #0767B0;
  margin-bottom: 12px;
  display: block;
}
.upload-dropzone-text {
  margin-bottom: 4px;
  color: #0767B0;
  font-weight: 500;
}

.upload-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #d0dce8;
  border-radius: 6px;
  margin-top: 8px;
  background: #fff;
}
.upload-row-icon {
  font-size: 24px;
}
.upload-row-icon--blue {
  color: #0767B0;
}
.upload-row-filename {
  color: #0767B0;
  font-size: 14px;
  font-weight: 400;
}
.upload-row-name {
  flex: 1;
  min-width: 0;
}

.recipient-option-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.recipient-option-card:hover {
  border-color: #2196f3;
  background: #f5faff;
}
.recipient-option-icon {
  font-size: 22px;
  color: #5f6368;
  width: 28px;
  text-align: center;
}
.recipient-option-card:hover .recipient-option-icon {
  color: #2196f3;
}
.recipient-option-card.selected {
  border-color: #2196f3;
  background: #e8f3ff;
}
.recipient-option-card.selected .recipient-option-icon,
.recipient-option-card.selected span {
  color: #1565c0;
}

.signer-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.signer-card {
  flex: 1;
  min-width: 0;
  border: 1px solid #e0e0e0;
  border-left: 3px solid #2196f3;
  border-radius: 8px;
  padding: 16px 16px 12px 32px;
  background: #fff;
  position: relative;
}
.signer-card-title {
  color: #0767B0;
  font-weight: 500;
  font-size: calc(12px + (14 - 12) * ((100vw - 300px) / (1600 - 300)));
}
.signer-card-handle {
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  color: #9e9e9e;
  cursor: grab;
  font-size: 20px;
}
.signer-card-handle.disabled {
  visibility: hidden;
  cursor: default;
}
.signer-row.sortable-ghost {
  opacity: 0.4;
}
.signer-row.sortable-ghost .signer-card {
  background: #f5faff;
}
.signer-order-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 12px;
  border-radius: 4px;
  border: 1px solid #d0d0d0;
  background: #fafafa;
  font-size: 12px;
  color: #555;
}
.signer-section-toggle {
  background: none;
  border: none;
  padding: 0;
  color: #0767B0;
  font-weight: 500;
  font-size: calc(12px + (14 - 12) * ((100vw - 300px) / (1600 - 300)));
  cursor: pointer;
}
.signer-section-toggle:focus {
  outline: none;
}
.signer-section-toggle .fa-chevron-right {
  transition: transform 0.2s ease;
}
.signer-section-toggle[aria-expanded="true"] .fa-chevron-right {
  transform: rotate(90deg);
}
.security-options .form-check + .form-check {
  margin-top: 6px;
}

/* Footer action buttons — Bootstrap 5.0 doesn't have --bs-btn-bg variables,
   and index.css loads before bootstrap.min.css, so we need !important here. */
.btn-next-step,
.btn-next-step:focus,
.btn-next-step:active {
  background-color: #0767B0 !important;
  border-color: #0767B0 !important;
  color: #fff !important;
}
.btn-next-step:hover {
  background-color: #055a9c !important;
  border-color: #055a9c !important;
  color: #fff !important;
}
.btn-next-step:disabled,
.btn-next-step.disabled {
  background-color: #0767B0 !important;
  border-color: #0767B0 !important;
  color: #fff !important;
  opacity: 0.55;
}

/* Back button — gray border, transparent bg, dark text */
.btn-back-step,
.btn-back-step:focus,
.btn-back-step:active {
  background-color: transparent !important;
  border-color: #CFD8DC !important;
  color: #424242 !important;
  box-shadow: none !important;
}
.btn-back-step:hover {
  background-color: rgba(0, 0, 0, 0.04) !important;
  border-color: #9E9E9E !important;
  color: #000 !important;
}

/* Contact picker modal */
.contact-search-wrap { position: relative; }
.contact-search-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: #9e9e9e; pointer-events: none;
}
.contact-search-input { padding-left: 34px !important; }

.contact-tabs { gap: 8px; border-bottom: 1px solid #e0e0e0; }
.contact-tabs .nav-link {
  border: none; background: none; color: #757575;
  border-bottom: 2px solid transparent; border-radius: 0;
  padding: 8px 6px;
}
.contact-tabs .nav-link.active {
  color: #0767B0; border-bottom-color: #0767B0; background: none;
}
/* Kill the default focus outline / ring on tabs and modal action buttons —
   leaves the .active border-bottom as the only visual cue. */
.contact-tabs .nav-link:focus,
.contact-tabs .nav-link:focus-visible,
.contact-mode-toggle:focus,
.contact-mode-toggle:focus-visible,
.contact-bulk-actions button:focus,
.contact-bulk-actions button:focus-visible {
  outline: none;
  box-shadow: none;
}

.contact-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border: 1px solid #E6E6E6;
  border-radius: 8px;
  margin-bottom: 6px;
}
.contact-fav { color: #C8C8C8; font-size: 16px; }

.contact-group-card {
  border: 1px solid #e0e0e0; border-radius: 8px;
  margin-bottom: 12px; background: #fff;
}
.contact-group-card.selected { border-color: #0767B0; }
.contact-group-card-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; cursor: pointer;
}
.contact-group-icon { color: #555; }
.contact-group-member {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-top: 1px solid #f0f0f0;
}
.contact-avatar {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover;
  background: #eeeeee;
}

.min-w-0 { min-width: 0; }

/* === Contact picker multi-select (2026-05-19 mockup) === */
/* Action bar extends to modal-body edges (negative margin matches BS default padding 1rem) */
.contact-modal-action-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 12px 1rem;
  background: #F7F7F7;
  margin: 0 -1rem 12px;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
}
.contact-total { color: #6b7280; }
.contact-mode-toggle {
  background: transparent; border: 1px solid #d1d5db;
  border-radius: 6px; padding: 5px 12px;
  font-size: 14px; color: #1f2937;
}
.contact-mode-toggle:hover { background: #ffffff; }
.contact-selectall {
  display: flex; align-items: center; cursor: pointer; user-select: none;
}
.contact-selectall-badge {
  display: inline-block;
  background: #EBF6FF;
  color: #0767B0;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}
.contact-bulk-actions { display: flex; align-items: center; gap: 6px; }
.contact-bulk-actions button {
  background: transparent; border: 1px solid #d1d5db;
  border-radius: 6px; padding: 5px 10px;
  color: #1f2937; font-size: 14px;
}
.contact-bulk-actions button:hover:not(:disabled) { background: #ffffff; }
.contact-bulk-actions button:disabled { opacity: 0.5; cursor: not-allowed; }
.contact-bulk-unfav-icon { width: 16px; height: 16px; vertical-align: middle; }
.contact-bulk-trash-icon { color: #d60000; }
.contact-bulk-divider {
  display: inline-block;
  width: 1px; height: 22px;
  background: #d1d5db;
  margin: 0 4px;
}

/* Selected row — single (radio checked) + multi (.selected) both highlight blue */
.contact-row.selected,
.contact-row:has(input[type="radio"]:checked),
.contact-row:has(input[type="checkbox"]:checked) {
  background: #f0f9ff;
  border: 1px solid #0767B0;
  border-radius: 6px;
}
.contact-fav.cl-F2 { color: #F2B33C; }  /* gold star matches mockup */
.contact-group-card.selected { background: #f0f9ff; }
/* indeterminate checkbox visual (Bootstrap doesn't style it by default) */
.contact-selectall input[type="checkbox"]:indeterminate {
  background-color: #0767B0; border-color: #0767B0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath stroke='%23fff' stroke-width='3' d='M4 10h12'/%3E%3C/svg%3E");
}
/* Checked checkbox/radio in the contact picker — use brand blue instead of
   Bootstrap's default #0d6efd, so it matches the selected-row border and the
   select-all box. ID scope keeps it from leaking to other step-2 controls;
   only background/border are overridden, so the white check/dot SVG stays. */
#groupModal .form-check-input:checked {
  background-color: #0767B0;
  border-color: #0767B0;
}

/* Confirm-delete modal — red "ลบ" button.
   This project uses Bootstrap 5.0.0-beta1 which doesn't expose --bs-btn-* CSS vars,
   so we beat .btn (specificity 0,0,1,0) by chaining two classes (0,0,2,0). */
.btn.btn-confirm-delete,
.btn.btn-confirm-delete:focus {
  color: #fff;
  background-color: #d60000;
  border-color: #d60000;
}
.btn.btn-confirm-delete:hover,
.btn.btn-confirm-delete:active,
.btn.btn-confirm-delete.active {
  color: #fff;
  background-color: #b30000;
  border-color: #b30000;
}
.btn.btn-confirm-cancel,
.btn.btn-confirm-cancel:focus {
  color: #1f2937;
  background-color: #fff;
  border-color: #d1d5db;
}
.btn.btn-confirm-cancel:hover {
  color: #1f2937;
  background-color: #f9fafb;
  border-color: #d1d5db;
}
/* Wider buttons in confirm-delete modal footer + muted body text */
#confirmDeleteRecentModal .modal-body {
  color: #919191;
}
#confirmDeleteRecentModal .btn-confirm-delete,
#confirmDeleteRecentModal .btn-confirm-cancel {
  min-width: 96px;
  padding-left: 22px;
  padding-right: 22px;
}

/* Contact picker hides while confirm-delete modal is shown — modal cascade
   handled via Bootstrap programmatic show/hide in upload_new3_lib.js. */

/* === Low-resolution image upload prompt (2026-05-19 mockup) === */
.low-res-modal { border-radius: 12px; }
.low-res-modal-icon { width: 140px; height: auto; }
.low-res-modal-desc {
  color: #919191;
  font-size: 14px;
  line-height: 1.5;
}
.low-res-modal-filename { color: #1f2937; font-weight: 500; }
.btn.low-res-btn-primary,
.btn.low-res-btn-primary:focus {
  background-color: #0767B0;
  color: #fff;
  border: 1px solid #0767B0;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
}
.btn.low-res-btn-primary:hover,
.btn.low-res-btn-primary:active {
  background-color: #055a99;
  border-color: #055a99;
  color: #fff;
}
.btn.low-res-btn-secondary,
.btn.low-res-btn-secondary:focus {
  background-color: #fff;
  color: #1f2937;
  border: 1px solid #E6E6E6;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
}
.btn.low-res-btn-secondary:hover {
  background-color: #f9fafb;
  color: #1f2937;
}

/* === Step 4: Review page === */
.step4-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: #C7E7FF; color: #0767B0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 400; flex-shrink: 0;
}
.step4-recip-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px; border: 1px solid #e0e0e0; border-radius: 8px;
}
.step4-badge-signer {
  background: #E8F1FB; color: #0767B0;
  border-radius: 16px; padding: 4px 10px; font-size: 12px; white-space: nowrap;
}
.step4-badge-viewer {
  background: #FFF6E6; color: #C58200;
  border-radius: 16px; padding: 4px 10px; font-size: 12px; white-space: nowrap;
}
.step4-badge-creator {
  background: #EEF2F7; color: #445566;
  border-radius: 16px; padding: 4px 10px; font-size: 12px; white-space: nowrap;
}
.exp-pill {
  border: 1px solid #cfd8dc; border-radius: 6px;
  padding: 6px 14px; background: #fff; color: #666; cursor: pointer; font-size: 14px;
  outline: none;
}
.exp-pill:focus { outline: none; box-shadow: none; }
.exp-pill.active { background: #EBF6FF; color: #0767B0; border-color: #0767B0; }

/* Always render the page scrollbar (even when content fits the viewport) so the
   reserved right-hand space shows a real scrollbar instead of an empty gutter,
   and the layout never jumps between steps as content height changes. */
html {
  overflow-y: scroll;
}
/* Bottom-right toast for ClipboardJS success on step 5 */
.copy-link-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1080;
  background: #EBF6FF;
  color: #0767B0;
  border: 1px solid #BDD9F0;
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.copy-toast-fade-enter-active, .copy-toast-fade-leave-active {
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.copy-toast-fade-enter, .copy-toast-fade-leave-to {
  opacity: 0;
  transform: translateY(6px);
}
