.form-group.boxed .form-control {
    padding-top: .375rem;
    padding-bottom: .375rem;
}

.tagify__input:not(:first-child) {
    margin-left: 5px;
}

.tagify__input {
    margin: 0px;
    padding-left: 0px;
}

/* facial verification component */
.face-verify-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 6px solid #1e74fd;
    box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.face-verify-camera {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    z-index: 1;
    position: relative;
    transform: scaleX(-1);
    display: block;
    aspect-ratio: 1/1;
}

.auth-bg {
    background-image: url("/assets/img/auth.avif");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    width: 100%;
    background-color: #0009;
    background-blend-mode: overlay;
    color: white;
}

.backdrop-blur {
    backdrop-filter: blur(3px);
}

/* preloader */
.preloader {
    height: 95vh;
    max-height: 100vh;
    width: 100vw;
}

.preloader img {
    width: 60vw;
    max-width: 200pt;
    margin-bottom: 10%;
}

/* onboarding screen */
.onboarding .background {
    height: 70vh;
    width: 100vw;
    background-size: cover;
    background-position: left;
}

.onboarding .content {
    height: 50vh;
    width: 100vw;
    border-radius: 2rem 2rem 0rem 0rem;
}

.onboarding .indicators input {
    border-radius: 50%;
    height: 15px;
    width: 15px;
}

.bg-soft {
    background-color: #0c1624;
}

.bg-white {
    background-color: #fff;
}

/* black button */
.btn-black {
    color: #eee;
    background: #000;
    transition: all 0.1s ease-in-out;
}

.btn-black:hover {
    color: #fff;
    background: #111;
}

.input-group .input-group-text {
    border: 0;
    height: auto;
}

.icon[class*=" fa-"] {
    font-weight: 900 !important;
}

/* tagify customization for partners input */
.partners-dropdown .tagify__dropdown__item {
    white-space: nowrap;
}

.tagify {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center;
    position: relative;
}

.tagify__tag:first-child {
    margin-left: 0px;
}

.tagify__tag {
    margin: 0 0 0 5px;
}

.tagify__input::before {
    top: 0 !important;
}

.tagify__input::before {
    content: attr(data-placeholder);
    color: #999;
    pointer-events: none;
    position: relative;
    top: 8px;
}

.tagify__input[data-placeholder=""]::before {
    content: none;
}

/* Transaction Report Styles */
.dashed-line {
    border-top: 2px dashed #edf2f7;
    margin: 1.5rem 0;
    opacity: 1;
}

.report-receipt {
    background-color: #ffffff;
    color: #1a1f36;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-radius: 35px;
    max-width: 700px;
    margin: 0 auto;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.partner-card-box {
    background-color: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    padding: 15px;
    height: 100%;
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease;
}

.submission-row-item {
    border-bottom: 1px solid #f1f5f9;
    padding: 1rem 0;
    transition: border-color 0.3s ease;
}

/* Dark Mode Overrides for Report */
body.dark-mode-active .report-receipt {
    background-color: #1b283b;
    color: #ffffff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

body.dark-mode-active .partner-card-box {
    background-color: #0c1624;
    border-color: #2b3a4f;
}

body.dark-mode-active .submission-row-item {
    border-color: #2b3a4f;
}

body.dark-mode-active .dashed-line {
    border-top-color: #2b3a4f;
}

body.dark-mode-active .text-muted {
    color: #8195a6 !important;
}

body.dark-mode-active .success-icon-bg {
    background-color: rgba(40, 167, 69, 0.1) !important;
}

body.dark-mode-active .bg-light {
    background-color: #0c1624 !important;
}

.cursor-pointer {
    cursor: pointer;
}

/* Dashed Border */
.border-dashed {
    border: 1px dashed #e2e8f0;
}

.border-start-dashed {
    border-left: 1px dashed #e2e8f0;
}

.border-top-dashed {
    border-top: 1px dashed #e2e8f0;
}

.border-end-dashed {
    border-right: 1px dashed #e2e8f0;
}

.border-bottom-dashed {
    border-bottom: 1px dashed #e2e8f0;
}

/* Dotted Border */
.border-dotted {
    border: 1px dotted #e2e8f0;
}

.border-start-dotted {
    border-left: 1px dotted #e2e8f0;
}

.border-top-dotted {
    border-top: 1px dotted #e2e8f0;
}

.border-end-dotted {
    border-right: 1px dotted #e2e8f0;
}

.border-bottom-dotted {
    border-bottom: 1px dotted #e2e8f0;
}


/* toast */
.toast {
    border-radius: 16px !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 320px;
}

.toast-header {
    background-color: transparent !important;
    border-radius: 16px 16px 0 0 !important;
}

.fw-600 {
    font-weight: 600 !important;
}

@keyframes toastProgress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.toast.show #toast-progress {
    animation: toastProgress 10s linear;
}

/* search input */
.search-close-inline {
    position: absolute;
    right: 4px;
    top: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}