.paymentplan-chat-position {
    display: flex;
    align-items: stretch;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.paymentplan-chat-window {
    border-radius: 16px;
    border: 1px solid var(--Grey-300, #E0E0E0);
    background: #FFF;
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.15);
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.paymentplan-chat-form-header {
    display: flex;
    height: 56px;
    padding: 8px;
    align-items: center;
    gap: 12px;
    align-self: stretch;
}

.paymentplan-chat-form-body {
    padding: 16px 16px 16px 16px;
    overflow: auto;
    width: 100%;
    height: 100dvh;
}

.input-field-lt {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}

.input-field-lt.column {
    flex-direction: column;
}

.input-field-lt.row {
    flex-direction: row;
}

.input-label {
    color: var(--Text-Primary, #212121);
    font-size: 14px;
    font-weight: 400;
    line-height: 143%;
    letter-spacing: 0.17px;
    margin-top: auto;
    margin-bottom: auto;
}

.paymentplan-form-error-message {
    color: #d32f2f;
    font-size: 12px;
    line-height: 1.3;
    min-height: 16px;
    display: block;
    margin-top: 2px;
}

#splinitialPaymentPlan.input-error {
    border: 1px solid #d32f2f;
    outline: none;
}

.quick-actions-pay,
.quick-actions-amount,
.quick-actions-case,
.quick-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex: 1;
    padding-top: 9px;
}

.action-btn {
    border: 1px solid #4a90e2;
    background: transparent;
    color: #4a90e2;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.action-btn:hover {
    background: #eaf3ff;
}

.chip-btn.active {
    background-color: #2f6fdf;
    color: #fff;
    border: 1px solid #2f6fdf;
}

.payment-summary-card {
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 12px;
    color: #000;
    background-color: #f2f5fa;
    width: 270px;
}

.row-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.label {
    color: #212121;
    max-width: 50%;
    word-break: break-word;
}

.value {
    color: #757575;
    max-width: 50%;
    text-align: right;
    word-break: break-word;
}

/* RIGHT ALIGN CARD */
.user-message-card {
    display: flex;
    justify-content: flex-end;
}

/* TEXT BLOCK */
.plan-details {
    margin-left: 32px;
    max-width: 500px;
}

/* INTRO TEXT */
.intro {
    margin-bottom: 12px;
    /* font-size: 16px; */
}

/* HEADINGS */
.plan-details h5 {
    margin-top: 16px;
    margin-bottom: 6px;
    font-size: 18px;
    font-weight: 600;
}

/* LIST */
.plan-details ul {
    margin: 0 0 12px 20px;
    padding: 0;
}

.plan-details li {
    margin-bottom: 6px;
    /* font-size: 16px; */
}

/* FOOTER TEXT */
.footer-text {
    margin-top: 12px;
    /* margin-bottom: 16px; */
}

/* BUTTONS */
.quick-actions-pay {
    display: flex;
    gap: 10px;
}

.paymentlist {
    padding-left: 20px;
}

ul li {
    padding: 3px;
}

/* Three-dot typing loader */
.typing-loader {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.typing-loader span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: dotBounce 1.4s infinite;
}

.typing-loader span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-loader span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotBounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
        /* opacity: 0.7; */
    }

    30% {
        transform: translateY(-10px);
        /* opacity: 1; */
    }
}


#setupPaymentPlanCotainer {
    position: absolute;
    inset: 0;
}


.payment-enter-details-btn {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1.5px solid #2f6fdf;
    background-color: #f4f8ff;
    color: #2f6fdf;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease-in-out;
}

/* Hover Effect */
.payment-enter-details-btn:hover {
    background-color: #2f6fdf;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(47, 111, 223, 0.3);
}

/* Active Click Effect */
.payment-enter-details-btn:active {
    transform: scale(0.98);
}

.payment-enter-details-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #e8eef9;
    color: #6f7b91;
    border-color: #b9c7e3;
    box-shadow: none;
}

.payment-enter-details-btn:disabled:hover {
    background-color: #e8eef9;
    color: #6f7b91;
    box-shadow: none;
}

/* Three-dot typing loader */
.typing-loader {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.typing-loader span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: dotBounce 1.4s infinite;
}

.typing-loader span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-loader span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotBounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
        /* opacity: 0.7; */
    }

    30% {
        transform: translateY(-10px);
        /* opacity: 1; */
    }
}