
/*
** For toast
*/
@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-out-down {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(20px); }
}
.animate-fade-in-up {
    animation: fade-in-up 0.3s ease forwards;
}
.animate-fade-out-down {
    animation: fade-out-down 0.3s ease forwards;
}
/*
** For toast
*/

.category-sub-contact h5 {
    min-height: 40px; /* adjust based on font size */
    display: flex;
    align-items: center; /* vertically center if one line */
    text-align: center;
}

.help-block-error, .crud-error-span{
    font-size: 10px;
    color: #930404;
    position: relative;
    width: 100%;
    display: inline-block;
    /*top: -10px*/
}

.add_register_row_button{
    cursor: pointer;
    color: #4A2929;
    margin-bottom: 5px;
    border: 2px #4A2929 solid;
    max-width: fit-content;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 12px;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #777;
    text-decoration: none;
    transition: all 0.3s ease;
}

.download-link i {
    font-size: 18px;
    line-height: 1;
}

.download-link:hover {
    color: #3d4750;      /* Darker hover color */
}

.download-link:hover i {
    transform: translateY(2px); /* slight movement on hover */
    color: #0000FF;
}

.color-sidebar-active span{
    border: 2px solid green;
}

.bb-color-contact ul li.color-sidebar-active .bb-sidebar-block-item span::after{
    width: 25px;
    height: 25px;
}

.bb-color-contact ul li.color-sidebar-active .bb-sidebar-block-item span.border-black::after{
    color: #000;
}

/*
** For select 2
*/
/* Container */
.select2-container {
    width: 100% !important;
}

/* Single select */
.select2-container--default .select2-selection--single {
    height: 3rem;                      /* h-12 */
    border-radius: 0.75rem;            /* rounded-xl (adjust if needed) */
    border: 1px solid #e5e7eb;         /* gray-200 */
    background-color: #fff;
    padding: 0 1rem;                   /* px-4 */
    display: flex;
    align-items: center;
}

/* Text */
.select2-selection__rendered {
    padding: 0 !important;
    line-height: 1.5 !important;
    color: #111827;                    /* gray-900 */
}

/* Arrow */
.select2-selection__arrow {
    height: 100% !important;
}

/* Focus state (Tailwind ring) */
.select2-container--open .select2-selection--single,
.select2-container--focus .select2-selection--single {
    border-color: #2563eb;             /* blue-600 */
    box-shadow: 0 0 0 2px rgba(37,99,235,0.25);
}

/* Dropdown */
.select2-dropdown {
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
}

/* Search input inside dropdown */
.select2-search__field {
    height: 2.5rem;                    /* h-10 */
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    padding: 0 0.75rem;
    outline: none;
}

.select2-search__field:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37,99,235,0.25);
}

/* Main Select2 input */
.select2-container--default .select2-selection--single {
    border: none !important;
    box-shadow: none !important;
}

/* On focus / open */
.select2-container--open .select2-selection--single,
.select2-container--focus .select2-selection--single {
    border: none !important;
    box-shadow: none !important;
}

/* Dropdown */
.select2-dropdown {
    border: none !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08); /* optional soft shadow */
}

/* Search box inside dropdown */
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #eceaea !important;
    
}
