:root {
        --primary-color: #5e1423;
        --primary-hover: #751b36;
        --bg-color: #f8f9fa;
        --card-bg: #fff;
        --label-color: #6c757d;
        --input-border: #ced4da;
        --progress-bg: #e9ecef;
        --progress-fill: #5e1423;
    }

    body {
        font-family: 'Poppins', sans-serif;
        background: var(--bg-color);
    }

    .widthoffirstpage {
        width: 730px !important;
    }

    .timerDivNumber {
        font-size: 14px;
        width: 173px;
    }

    .timerDivEmail {
        font-size: 14px;
        width: 173px;
    }

    .my-alert {
        position: absolute;
        top: 51px;
        left: 15px;
        color: #5e1423 !important;
    }

    .main {
        width: 100%;
        min-height: 100dvh;
        /* full viewport height */
        display: flex;
        justify-content: center;
        align-items: center;
        background-image: url('../img/loginback.png');
        /* replace with your image path */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
        padding: 20px;
    }

    /* Optional: semi-transparent overlay for the form card */
    .form-card {
        background: rgba(255, 255, 255, 0.95);
        /* white with transparency */
        border-radius: 15px;
        padding: 30px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        width: fit-content;
        position: relative;
    }


    .container {
        width: 85%;
        padding-top: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .top-header {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        margin-bottom: 30px;
    }

    .brand {
        display: flex;
        align-items: center;
    }

    .brand .logo img {

        height: 60px;
        object-fit: contain;
        margin-right: 15px;
    }

    .brand h1 {
        font-size: 1.5rem;
        font-weight: 600;
        margin: 0;
    }

    .small-note {
        font-size: 0.85rem;
        color: var(--label-color);
    }

    /* Progress Bar */
    .progress-bar-wrapper {
        width: 100%;
        position: relative;
    }

    .progress-line {
        width: 100%;
        top: 15px;
        position: absolute;
        height: 4px;
        background: var(--progress-bg);
        border-radius: 5px;
        margin-bottom: 10px;
        overflow: hidden;
        z-index: 1;
    }

    .progress-fill {
        width: 0%;
        height: 100%;
        background: var(--bs-dark-text-emphasis);
        border-radius: 5px;
        transition: width 0.5s ease-in-out;
    }

    .steps {
        display: flex;
        gap: 64px;


    }

    .step {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        background: #e9ecef;
        color: #495057;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: 600;
        transition: all 0.3s;
        z-index: 1;
    }

    .step.active {
        background: var(--bs-dark-text-emphasis);
        color: #fff;
    }

    /* Form Card */


    .form-header h3 {
        font-weight: 600;
    }

    .form-floating-custom {
        position: relative;
        margin-bottom: 25px;
    }

    .form-floating-custom input,
    .form-floating-custom select {
        width: 100%;
        padding: 12px 15px;
        border-radius: 10px;
        border: 1px solid var(--input-border);
        outline: none;
        transition: all 0.3s;
    }

    .form-floating-custom input:focus {
/*        border-color: var(--primary-color);*/
        box-shadow: 0 0 10px rgba(94, 20, 35, 0.2);
    }

    .form-floating-custom label {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--label-color);
        pointer-events: none;
        transition: all 0.3s;
        /*background: var(--card-bg);*/
        padding: 0 5px;
    }

    .form-floating-custom input:focus+label,
    .form-floating-custom input:not(:placeholder-shown)+label {
        top: -10px;
        font-size: 0.75rem;
        /*color: var(--primary-color);*/
    }

    /* OTP Animation */
    .otp-group {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.5s ease;
        pointer-events: none;
    }

    .otp-group.visible {
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
    }

    /* Buttons */
    .btn-brand {
        background: var(--bs-teal);
        color: #fff;
        border-radius: 8px;
        padding: 10px 25px;
        font-weight: 600;
        transition: all 0.3s;
    }

    .btn-brand:hover {
        background: var(--bs-success);
        color: #fff;
    }

    .step-page {
        display: none;
        opacity: 0;
        transform: translateX(20px);
        transition: all .4s ease;
        /* simple smooth transition */
    }

    /* Active Page */
    .step-page.active {
        display: block;
        opacity: 1;
        transform: translateX(0);
    }

    /* Fade & Zoom Animation */
    .step-page.fade-zoom-in {
        display: block !important;
        opacity: 0 !important;
        transform: scale(0.95) !important;
        animation: fadeZoomIn .5s ease forwards !important;
    }

    @keyframes fadeZoomIn {
        to {
            opacity: 1;
            transform: scale(1) !important;
        }
    }


    .otp-row {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    /* Make OTP input expand while buttons keep size */
    .otp-row input {
        flex: 1;
    }

    /* Optional: smaller height for buttons to match input */
    .otp-row button {
        height: 42px;
    }

    /* Mobile OTP */
    .otp-row {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .otp-row input {
        flex: 1;
        padding: 12px 15px;
        border-radius: 10px;
        border: 1px solid var(--input-border);
        transition: all 0.3s;
    }

    .otp-row label {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--label-color);
        background: var(--card-bg);
        padding: 0 5px;
        pointer-events: none;
        transition: all 0.3s;
    }

    .otp-row input:focus+label,
    .otp-row input:not(:placeholder-shown)+label {
        top: -10px;
        font-size: 0.75rem;
        color: var(--primary-color);
    }

    .otp-row-wrapper.show .otp-row {
        opacity: 1;
        transform: translateY(0);
    }

    /* Email OTP */
    .otp-row-email {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .otp-row-email input {
        flex: 1;
        padding: 12px 15px;
        border-radius: 10px;
        border: 1px solid var(--input-border);
        transition: all 0.3s;
    }

    .otp-row-email label {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--label-color);
        background: var(--card-bg);
        padding: 0 5px;
        pointer-events: none;
        transition: all 0.3s;
    }

    .otp-row-email input:focus+label,
    .otp-row-email input:not(:placeholder-shown)+label {
        top: -10px;
        font-size: 0.75rem;
        color: var(--primary-color);
    }

    .otp-row-wrapper-email.show .otp-row-email {
        opacity: 1;
        transform: translateY(0);
    }


    #age.filled+label {
        top: -10px;
        font-size: 0.75rem;
        color: var(--primary-color);
    }

    .my-label {
        top: -12px !important;
    }

    .preview-wrapper img {
        border: 1px solid var(--input-border);
        border-radius: 8px;
        margin-right: 5px;
    }

    .form-check-label {
        display: flex;
        text-align: justify;
        font-size: 14px;
        padding-right: 58px;
    }

    /* Fullscreen Preloader Container */
    #page-loader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        /* background color */
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        transition: opacity 0.6s ease, visibility 0.6s ease;
    }

    #page-loader.hidden {
        opacity: 0;
        visibility: hidden;
    }

    /* Loader SVG */
    .pl {
        width: 6em;
        height: 6em;
    }

    .pl__ring {
        animation: ringA 2s linear infinite;
    }

    .pl__ring--a {
        stroke: #f42f25;
    }

    .pl__ring--b {
        animation-name: ringB;
        stroke: #f49725;
    }

    .pl__ring--c {
        animation-name: ringC;
        stroke: #255ff4;
    }

    .pl__ring--d {
        animation-name: ringD;
        stroke: #f42582;
    }

    /* Animations */
    @keyframes ringA {

        from,
        4% {
            stroke-dasharray: 0 660;
            stroke-width: 20;
            stroke-dashoffset: -330;
        }

        12% {
            stroke-dasharray: 60 600;
            stroke-width: 30;
            stroke-dashoffset: -335;
        }

        32% {
            stroke-dasharray: 60 600;
            stroke-width: 30;
            stroke-dashoffset: -595;
        }

        40%,
        54% {
            stroke-dasharray: 0 660;
            stroke-width: 20;
            stroke-dashoffset: -660;
        }

        62% {
            stroke-dasharray: 60 600;
            stroke-width: 30;
            stroke-dashoffset: -665;
        }

        82% {
            stroke-dasharray: 60 600;
            stroke-width: 30;
            stroke-dashoffset: -925;
        }

        90%,
        to {
            stroke-dasharray: 0 660;
            stroke-width: 20;
            stroke-dashoffset: -990;
        }
    }

    @keyframes ringB {

        from,
        12% {
            stroke-dasharray: 0 220;
            stroke-width: 20;
            stroke-dashoffset: -110;
        }

        20% {
            stroke-dasharray: 20 200;
            stroke-width: 30;
            stroke-dashoffset: -115;
        }

        40% {
            stroke-dasharray: 20 200;
            stroke-width: 30;
            stroke-dashoffset: -195;
        }

        48%,
        62% {
            stroke-dasharray: 0 220;
            stroke-width: 20;
            stroke-dashoffset: -220;
        }

        70% {
            stroke-dasharray: 20 200;
            stroke-width: 30;
            stroke-dashoffset: -225;
        }

        90% {
            stroke-dasharray: 20 200;
            stroke-width: 30;
            stroke-dashoffset: -305;
        }

        98%,
        to {
            stroke-dasharray: 0 220;
            stroke-width: 20;
            stroke-dashoffset: -330;
        }
    }

    @keyframes ringC {
        from {
            stroke-dasharray: 0 440;
            stroke-width: 20;
            stroke-dashoffset: 0;
        }

        8% {
            stroke-dasharray: 40 400;
            stroke-width: 30;
            stroke-dashoffset: -5;
        }

        28% {
            stroke-dasharray: 40 400;
            stroke-width: 30;
            stroke-dashoffset: -175;
        }

        36%,
        58% {
            stroke-dasharray: 0 440;
            stroke-width: 20;
            stroke-dashoffset: -220;
        }

        66% {
            stroke-dasharray: 40 400;
            stroke-width: 30;
            stroke-dashoffset: -225;
        }

        86% {
            stroke-dasharray: 40 400;
            stroke-width: 30;
            stroke-dashoffset: -395;
        }

        94%,
        to {
            stroke-dasharray: 0 440;
            stroke-width: 20;
            stroke-dashoffset: -440;
        }
    }

    @keyframes ringD {

        from,
        8% {
            stroke-dasharray: 0 440;
            stroke-width: 20;
            stroke-dashoffset: 0;
        }

        16% {
            stroke-dasharray: 40 400;
            stroke-width: 30;
            stroke-dashoffset: -5;
        }

        36% {
            stroke-dasharray: 40 400;
            stroke-width: 30;
            stroke-dashoffset: -175;
        }

        44%,
        50% {
            stroke-dasharray: 0 440;
            stroke-width: 20;
            stroke-dashoffset: -220;
        }

        58% {
            stroke-dasharray: 40 400;
            stroke-width: 30;
            stroke-dashoffset: -225;
        }

        78% {
            stroke-dasharray: 40 400;
            stroke-width: 30;
            stroke-dashoffset: -395;
        }

        86%,
        to {
            stroke-dasharray: 0 440;
            stroke-width: 20;
            stroke-dashoffset: -440;
        }
    }

    /* =========================================================
   MOBILE RESPONSIVE FIXES (NO JS CHANGES)
========================================================= */

    /* Prevent horizontal overflow */
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Main container spacing */
    @media (max-width: 991px) {
        .container {
            width: 100%;
            padding: 10px;
        }

        .form-card {
            width: 100%;
            padding: 20px;
        }

        .brand {
            flex-direction: column;
            text-align: center;
            gap: 10px;
        }

        .brand .logo img {
            margin-right: 0;
            height: 50px;
        }

        .steps {
            gap: 20px;
            flex-wrap: wrap;
            justify-content: center;
        }
    }

    /* Stack columns on mobile */
    @media (max-width: 768px) {
        .row>[class*="col-"] {
            width: 100%;
        }

        .widthoffirstpage {
                width: fit-content !important;
            }

        .form-check-label {
            padding-right: 0;
            font-size: 13px;
        }

        .otp-row,
        .otp-row-email {
            flex-direction: column;
            align-items: stretch;
        }

        .otp-row button,
        .otp-row-email button {
            width: 100%;
        }

        .timerDivNumber,
        .timerDivEmail {
            width: 100%;
            text-align: center;
        }

        .step {
            width: 30px;
            height: 30px;
            font-size: 13px;
        }

        .progress-line {
            top: 12px;
        }
    }

    /* Extra small phones */
    @media (max-width: 576px) {
        .margin-b {
            margin-bottom: 20px;
        }

        .margin-both {
            margin-top: 30px !important;
            margin-bottom: 30px !important;
        }

        .step-page {
            text-align: center;
        }

        .my-input {
            margin-top: 30px;
        }

        .otp-row label {
            top: 20%;
        }

        .form-floating-custom {
            position: relative;
            margin-bottom: 0px;
        }

        .main {
            width: 100%;
            height: 100% !important;
        }

        h1 {
            font-size: 1.2rem;
        }

        .form-header h3 {
            font-size: 1.1rem;
        }

        .btn {
            width: 100%;
        }

        .d-flex.justify-content-between {
            flex-direction: column;
            gap: 10px;
        }

        .signature-preview {
            width: 100%;
            height: 120px;
        }

        .preview-wrapper img {
            width: 80px;
            height: 80px;
        }

        .my-borders {
            border-bottom: 1px solid #7f8284;
            margin-bottom: 25px;
        }

        .otp-row-email label {
            top: 25%;
        }


    }

    /* Fix modal on small screens */
    @media (max-width: 576px) {
        .modal-dialog {
            margin: 10px;
        }

        .modal-body img {
            width: 100%;
            height: auto;
        }
    }

    /* STEP 6 – MOBILE FRIENDLY DESIGN */
.signature-preview {
    height: 140px;
    width: 100%;
    max-width: 320px;
    border: 1px dashed #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
}

.signature-preview img {
    max-height: 100%;
    max-width: 100%;
    display: none;
}

@media (max-width: 576px) {
    .form-check-label {
        font-size: 13px;
        line-height: 1.5;
    }

    #submitFinalBtn {
        width: 100%;
    }
}


.toast {
  --bs-toast-zindex: 1090;
  --bs-toast-padding-x: 0.75rem;
  --bs-toast-padding-y: 0.5rem;
  --bs-toast-spacing: 24px;
  --bs-toast-max-width: 350px;
  --bs-toast-font-size: 0.875rem;
  --bs-toast-bg: rgba(var(--bs-body-bg-rgb), 0.85);
  --bs-toast-border-width: 0;
  --bs-toast-border-color: var(--bs-border-color-translucent);
  --bs-toast-border-radius: var(--bs-border-radius);
  --bs-toast-box-shadow: rgba(145, 158, 171, 0.2) 0px 0px 2px 0px, rgba(145, 158, 171, 0.12) 0px 12px 24px -4px;
  --bs-toast-header-color: var(--bs-secondary-color);
  --bs-toast-header-bg: rgba(var(--bs-body-bg-rgb), 0.85);
  --bs-toast-header-border-color: var(--bs-border-color-translucent);
  width: var(--bs-toast-max-width);
  max-width: 100%;
  font-size: var(--bs-toast-font-size);
  color: var(--bs-toast-color);
  pointer-events: auto;
  background-color: var(--bs-toast-bg);
  background-clip: padding-box;
  border: var(--bs-toast-border-width) solid var(--bs-toast-border-color);
  box-shadow: var(--bs-toast-box-shadow);
  border-radius: var(--bs-toast-border-radius)
}

.toast.showing {
  opacity: 0
}

.toast:not(.show) {
  display: none
}

.toast-container {
  --bs-toast-zindex: 1090;
  position: absolute;
  z-index: var(--bs-toast-zindex);
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
  pointer-events: none
}

.toast-container>:not(:last-child) {
  margin-bottom: var(--bs-toast-spacing)
}

.toast-header {
  display: flex;
  align-items: center;
  padding: var(--bs-toast-padding-y) var(--bs-toast-padding-x);
  color: var(--bs-toast-header-color);
  background-color: var(--bs-toast-header-bg);
  background-clip: padding-box;
  border-bottom: var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);
  border-top-left-radius: calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));
  border-top-right-radius: calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))
}

.toast-header .btn-close {
  margin-right: calc(-.5 * var(--bs-toast-padding-x));
  margin-left: var(--bs-toast-padding-x)
}

.toast-body {
  padding: var(--bs-toast-padding-x);
  word-wrap: break-word
}

.toastr {
  position: fixed;
  z-index: 999999;
  pointer-events: none;
  color: #fff
}

.toast-title {
  font-weight: 700
}

.toast-message {
  -ms-word-wrap: break-word;
  word-wrap: break-word
}

.toast-message a,
.toast-message label {
  color: #fff
}

.toast-message a:hover {
  color: var(--bs-body-color);
  text-decoration: none
}

.toast-close-button {
  position: relative;
  right: -.3em;
  top: -.3em;
  float: right;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  -webkit-text-shadow: 0 1px 0 #fff;
  text-shadow: 0 1px 0 #fff;
  opacity: .8;
  line-height: 1
}

.toast-close-button:focus,
.toast-close-button:hover {
  color: #000;
  text-decoration: none;
  cursor: pointer;
  opacity: .4
}

.rtl .toast-close-button {
  left: -.3em;
  float: left;
  right: .3em
}

button.toast-close-button {
  padding: 0;
  cursor: pointer;
  background: 0 0;
  border: 0;
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none
}

.toast-top-center {
  top: 0;
  right: 0;
  width: 100%
}

.toast-bottom-center {
  bottom: 0;
  right: 0;
  width: 100%
}

.toast-top-full-width {
  top: 0;
  right: 0;
  width: 100%
}

.toast-bottom-full-width {
  bottom: 0;
  right: 0;
  width: 100%
}

.toast-top-left {
  top: 12px;
  left: 12px
}

.toast-top-right .toast {
  position: fixed;
  top: 12px;
  right: 12px
}

.toast-bottom-right .toast {
  position: fixed;
  right: 12px;
  bottom: 12px
}

.toast-bottom-left {
  bottom: 12px;
  left: 12px
}

.toast-container {
  position: fixed;
  z-index: 999999;
  pointer-events: none;
  width: 100% !important
}

.toast-container * {
  box-sizing: border-box
}

.toast-container>div {
  position: relative;
  pointer-events: auto;
  overflow: hidden;
  margin: 0 0 6px;
  padding: 15px 15px 15px 50px;
  width: 300px;
  border-radius: 7px;
  background-position: 15px center;
  background-repeat: no-repeat;
  box-shadow: 0 0 12px rgba(0, 0, 0, .08);
  color: #fff;
  opacity: 1 !important;
}

.toast-container>div.rtl {
  direction: rtl;
  padding: 15px 50px 15px 15px;
  background-position: right 15px center
}

.toast-container>.toast-info {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=) !important
}

.toast-container>.toast-error {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHOSURBVEhLrZa/SgNBEMZzh0WKCClSCKaIYOED+AAKeQQLG8HWztLCImBrYadgIdY+gIKNYkBFSwu7CAoqCgkkoGBI/E28PdbLZmeDLgzZzcx83/zZ2SSXC1j9fr+I1Hq93g2yxH4iwM1vkoBWAdxCmpzTxfkN2RcyZNaHFIkSo10+8kgxkXIURV5HGxTmFuc75B2RfQkpxHG8aAgaAFa0tAHqYFfQ7Iwe2yhODk8+J4C7yAoRTWI3w/4klGRgR4lO7Rpn9+gvMyWp+uxFh8+H+ARlgN1nJuJuQAYvNkEnwGFck18Er4q3egEc/oO+mhLdKgRyhdNFiacC0rlOCbhNVz4H9FnAYgDBvU3QIioZlJFLJtsoHYRDfiZoUyIxqCtRpVlANq0EU4dApjrtgezPFad5S19Wgjkc0hNVnuF4HjVA6C7QrSIbylB+oZe3aHgBsqlNqKYH48jXyJKMuAbiyVJ8KzaB3eRc0pg9VwQ4niFryI68qiOi3AbjwdsfnAtk0bCjTLJKr6mrD9g8iq/S/B81hguOMlQTnVyG40wAcjnmgsCNESDrjme7wfftP4P7SP4N3CJZdvzoNyGq2c/HWOXJGsvVg+RA/k2MC/wN6I2YA2Pt8GkAAAAASUVORK5CYII=) !important
}

.toast-container>.toast-success {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==) !important
}

.toast-container>.toast-warning {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=) !important
}

.toast-container.toast-bottom-center>div,
.toast-container.toast-top-center>div {
  width: 300px;
  margin-left: auto;
  margin-right: auto
}

.toast-container.toast-bottom-full-width>div,
.toast-container.toast-top-full-width>div {
  width: 96%;
  margin-left: auto;
  margin-right: auto
}

.toast-success {
  background-color: #13deb9 !important
}

.toast-error {
  background-color: #fa896b !important
}

.toast-info {
  background-color: #539bff !important
}

.toast-warning {
  background-color: #ffae1f !important
}

.toast-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  background-color: #000;
  opacity: .4
}

@media all and (min-width:241px) and (max-width:480px) {
  .toast-container>div {
    padding: 8px 8px 8px 50px;
    width: 18em
  }

  .toast-container>div.rtl {
    padding: 8px 50px 8px 8px
  }

  .toast-container .toast-close-button {
    right: -.2em;
    top: -.2em
  }

  .toast-container .rtl .toast-close-button {
    left: -.2em;
    right: .2em
  }
}
@media all and (min-width:481px) and (max-width:768px) {
  .toast-container>div {
    padding: 15px 15px 15px 50px;
    width: 25em
  }

  .toast-container>div.rtl {
    padding: 15px 50px 15px 15px
  }
}

.toast-container .toast {
  max-width: 100%
}

.error-border {
    border-color: #ff0000 !important;
}

.w-50vw {
    width: 50vw !important;
}



/* Image Picker  */
.picker {
    position: fixed;
    bottom: -100%;
    display: none;
    left: 25%;
    /*width: 100%;*/
    background: rgba(0,0,0,0.5);
    transition: 0.3s;
    z-index: 1;
    border-radius: 10px;
}

.picker.show {
    bottom: 15%;
    display: block;
}

.picker-content {
    background: #fafeff;
    padding: 50px;
    border-radius: inherit;
    box-shadow: inset 2px 0px 5px #c2c2c2,2px 0px 5px #dcdcdc;
}

/* Image Loader */
.img-box {
    position: relative;
    width: 100px;
    height: 100px;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* hide until loaded */
    border-radius: 8px;
}

/* Loader */
.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 3px solid #ccc;
    border-top: 3px solid #2c3e50;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.modal-body {
    display: flex;
    justify-content: center;
}
.modal-backdrop.show {
    opacity: 0.9;
}