.iti {
    width: 100% !important;
}

#loadingModal {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    display: none;
    align-items: center;
    justify-content: center;
    display: flex;
}

.spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.cropper-container {
    max-height: 400px;
    overflow: hidden;
}

.webcam-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

#webcamVideo,
#capturedImage {
    width: 100%;
    max-height: 400px;
    background: #000;
    border-radius: 8px;
}

.webcam-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.cropper-container {
    height: 600px !important;
    width: 465px !important;

}

.filepond--item {
    width: calc(33.333% - 0.5rem);
    margin: 0.25rem;
}

.location-option {
    cursor: pointer;
    transition: all 0.3s ease;
}

.location-option .form-check-label {
    cursor: pointer;
    transition: all 0.3s ease;
}

.location-option:hover {
    border-color: #0d6efd;
    background-color: #f0f7ff;
}

.location-option.active {
    border-color: #0d6efd !important;
    background-color: #e7f1ff !important;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
}

#otpInputs .otp-input {
    width: 45px;
    height: 45px;
    font-size: 20px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 8px;
}

#otpInputs .otp-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 3px rgba(0, 123, 255, 0.5);
}

.custom-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 16px;
    min-width: 280px;
    max-width: 360px;
    z-index: 9999;
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.4s ease;
    font-family: "Poppins", sans-serif;
    backdrop-filter: blur(6px);
}

.custom-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.custom-toast.hidden {
    display: none;
}

/* Toast type colors */
.custom-toast.success {
    background: linear-gradient(135deg, #28a745, #34ce57);
}

.custom-toast.error {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
}

.custom-toast.info {
    background: linear-gradient(135deg, #17a2b8, #00bcd4);
}

.custom-toast.warning {
    background: linear-gradient(135deg, #ffc107, #ffb100);
    color: #222;
}

/* Icon */
#toast-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.toast-text {
    line-height: 1.4;
    font-weight: 500;
}

.verified-status {
    background-color: #cdf4cd80 !important;
    color: #16b516ec !important;
    border: 1px solid #52e6529e !important;
}

.unverified-status {
    background-color: #f4dbcd80 !important;
    color: #b51e16ec !important;
    border: 1px solid #e672529e !important;
}

.leads-short-respond .filled-response {
    background-color: #16b516;
}

.additional-info {
    cursor: pointer;
}

.skeleton {
    background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
    background-size: 400% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 6px;
    height: 14px;
}

.skeleton-title {
    height: 20px;
    border-radius: 6px;
}

.skeleton-box {
    height: 40px;
    border-radius: 10px;
}

@keyframes shimmer {
    0% {
        background-position: -400px 0;
    }

    100% {
        background-position: 400px 0;
    }
}

.select2-selection__choice {
    width: auto !important;
}

.leads-short-widget {
    border-left: 5px solid transparent;
    transition: border-color 0.3s ease;
}

.leads-short-widget.active {
    border-left-color: var(--second-primary);
}

.copy-icon {
    cursor: pointer;
}

.credits-summary-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    margin-bottom: 10px;
}

.text-total {
    color: #0d6efd;
    /* Blue */
}

.text-used {
    color: #dc3545;
    /* Red */
}

.text-balance {
    color: #198754;
    /* Green */
}

.credit-summary-item h4 {
    font-size: 26px;
    font-weight: bold;
}

.credit-summary-item p {
    margin: 0;
    font-size: 14px;
}

.disabled-btn {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}

.select2-container .select2-selection--single {
    height: 40px !important;
}

.select2-container .select2-search--inline .select2-search__field {
    height: 32px !important;
}

.membership-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.hidden {
    display: none !important;
}

.futuristic-card {
    width: 320px;
    padding: 20px 25px;
    background: #ffffff;
    /* light theme */
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 0 10px rgba(0, 200, 255, 0.2);
    border: 1px solid rgba(0, 200, 255, 0.25);
    animation: slideUp 0.5s ease-out;
    color: #333;
    text-align: left;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #00aaff;
}

.main-text {
    font-size: 14px;
    line-height: 1.4;
}

.days {
    font-weight: bold;
    color: #0077cc;
}

.sub-text {
    margin-top: 8px;
    font-size: 13px;
    opacity: 0.8;
}

.popup-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
}

.btn {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    cursor: pointer;
    border: none;
    transition: 0.3s ease-in-out;
}

.neon-btn {
    background: #17449c;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 0 8px #17449c;
}

.neon-btn:hover {
    box-shadow: 0 0 16px #17449c;
    transform: scale(1.05);
}

.ghost-btn {
    background: transparent;
    color: #00aaff;
    border: 1px solid #00aaff;
}

.ghost-btn:hover {
    background: rgba(0, 170, 255, 0.1);
}

/* Slide-up animation */
@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.leads-short-widget {
    position: relative;
}

.leads-right-top-info {
    position: relative;
}

.corner-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #48e833;
    /* red color */
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-bottom-right-radius: 0.5rem;
    /* slight curve */
    transform: rotate(-15deg);
    /* angled ribbon */
    transform-origin: top left;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Blinking animation */
@keyframes blinkAnimation {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0;
    }
}

.blink {
    animation: blinkAnimation 4s infinite;
}

.otp-disabled {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.verify-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.verified-badge {
    font-size: 14px;
    font-weight: 600;
}

input[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

#sendOtpCustomerBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-faded {
    opacity: 0.6;
    cursor: not-allowed;
}