﻿input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}


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

.h-40 {
    min-height: 40px !important;
}

.auth-logo {
    max-height: 35px !important;
}

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

.text-extra-muted {
    color: #9E9E9E !important;
}

x-divisor {
    padding-top: 20px;
    border: solid 1px #f6f3f4 !important;
}

.x-user-icon {
    color: #f54a00 !important;
    background-color: #ffedd4 !important;
}

.bg-warning-subtle {
    background-color: #fff7ed;
}

.x-icon-warning {
    color: #f54a00 !important;
}

.rounded-10 {
    border-radius: 10px !important;
}

.px-10 {
    padding: 9px 0;
}

.selectr-options-container, .selectr-selected {
    border-color: #eceff5 !important;
}


/* Match icon border color to focused input */
.input-group .form-control:focus {
    border-color: #85a8db !important;
}

    .input-group .form-control:focus + .input-group-text,
    .input-group:focus-within .input-group-text {
        border-color: #85a8db !important;
    }

.hover-light-gray:hover {
    background-color: #eceff5 !important;
}


.swal2-popup .swal2-title {
    font-size: 16px !important;
}
/* ============================
   FILTER BAR — CUSTOM TOGGLE DIV VERSION
   ============================ */
.filter-bar {
    /*    background-color: #f9fafb;
    border: 1px solid #edf0f5;
    border-radius: 10px;*/
    transition: all 0.25s ease;
}

/* Filter badge + clear all */
.filter-active {
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

    .filter-active.show {
        opacity: 1;
        transform: translateY(0);
    }

.bg-filter {
    background-color: #eef3ff;
    color: #2a56e5 !important;
    border-radius: 6px;
    font-size: 0.8rem;
    padding: 3px 8px;
}

/* Clear button */
.filter-bar .btn-link {
    font-size: 0.85rem;
    color: #6c757d;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .filter-bar .btn-link:hover {
        color: #212529;
    }

/* Filter toggle container */
.filter-toggle {
    background-color: #f6f7fa;
    border-radius: 8px;
    padding: 2px;
    border: 1px solid #edf0f5;
    display: flex;
    align-items: center;
    gap: 2px;
    transition: background-color 0.25s ease;
}

/* Individual option */
.filter-option {
    padding: 7px 16px;
    border-radius: 6px;
    color: #495057;
    cursor: pointer;
    user-select: none;
    transition: all 0.25s ease;
}

    .filter-option:hover {
        background-color: #eceff5;
    }

    /* Active filter */
    .filter-option.active {
        background-color: #fff;
        color: #0d0d0d;
        border: 1px solid #dee2e6;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        transform: scale(1.02);
        transition: all 0.25s ease;
    }

/* Export buttons */
.filter-bar .btn-outline-light {
    border: 1px solid #e4e7eb !important;
    font-size: 0.85rem;
    color: #0d0d0d;
    background: #fff;
    border-radius: 6px;
    transition: all 0.2s ease;
}

    .filter-bar .btn-outline-light:hover {
        background: #f5f6fa;
        border-color: #dfe3ea !important;
        transform: translateY(-1px);
    }

/* Entrance animation */
.filter-bar.fade-in {
    opacity: 0;
    transform: translateY(-5px);
    animation: fadeSlideIn 0.4s ease forwards;
}

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

/* Mobile tweaks */
@media (max-width: 768px) {
    .filter-option {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}


.btn-outline-xente-warning {
    color: #000444;
    border-color: #ff9f43;
}

    .btn-outline-xente-warning:hover {
        color: #ffffff;
        background-color: #ff9f43;
        border-color: #ff9f43;
    }

/* Default intlTelInput styling */
.iti {
    display: block;
    width: 100%;
}

    /* Invalid state - match Bootstrap's .is-invalid class */
    .form-group.has-danger .iti,
    .iti.field-invalid {
        border: 1px solid var(--bs-form-invalid-border-color, #dc3545) !important;
        border-radius: var(--bs-border-radius, 0.375rem) !important;
    }

        /* Remove border from input inside iti when invalid (prevent double border) */
        .form-group.has-danger .iti input,
        .iti.field-invalid input {
            border: none;
        }
/* Nuclear option - override all display settings */
.invalid-feedback,
.fv-plugins-message-container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

    .invalid-feedback:empty,
    .fv-plugins-message-container:empty {
        display: none !important;
    }

    /* Ensure proper styling */
    .invalid-feedback,
    .fv-plugins-message-container.invalid-feedback {
        width: 100%;
        margin-top: 0.25rem;
        font-size: 0.875em;
        color: var(--bs-form-invalid-color, #dc3545);
    }

.selectr-container.is-invalid {
    border: 1px solid #dc3545 !important;
}

.selectr-container.is-valid {
    border: 1px solid #198754 !important;
}