﻿.custom-select-container {
    position: relative;
    width: 100%;
    /*font-family: 'Inter', sans-serif;*/
}

.custom-select-wrapper {
    position: relative;
    border-radius: 8px;
}

.custom-select-search {
    width: 100%;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 12px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .custom-select-search:focus {
        border-color: #7E3FF2;
        box-shadow: 0 0 0 2px rgba(126, 63, 242, 0.2);
        outline: none;
    }

/* Dropdown icon */
.custom-select-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8px;
    color: #ccc;
    pointer-events: none;
}

/* Options list */
.custom-options-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #E5E7EB;
    background: white;
    display: none;
    z-index: 1000;
    border-radius: 8px;
    margin-top: 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.custom-option {
    padding: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

    .custom-option:hover {
        background: #F3F4F6;
    }

    .custom-option.selected {
        background: #7E3FF2;
        color: white;
    }

.custom-options-list .custom-option {
    font-size: 12px;
}

.custom-select-search,
.custom-no-data {
    font-size: 12px;
}




/*------------------------Date picker------------------*/
/*.flatpickr-input {
    padding: 12px 40px 12px 16px; 
    font-size: 12px;
    width: 100%;
    border: 1px solid #E5E7EB; 
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%237E3FF2' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8 7V3m8 4V3m-9 8h10m-11 9h12a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
}

    .flatpickr-input:focus {
        border-color: #7E3FF2;
        box-shadow: 0 0 0 2px rgba(126, 63, 242, 0.2);
        outline: none;
    }*/

/* --- Calendar Dropdown --- */
/*.flatpickr-calendar {
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.flatpickr-day.selected {
    background: #7E3FF2;
    color: white;
    border-color: #7E3FF2;
}

.flatpickr-day:hover {
    background: #E9D8FD;
}*/
/* --- Input field --- */
.flatpickr-input {
    padding: 10px 38px 10px 14px;
    font-size: 13px;
    width: 100%;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%237E3FF2' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8 7V3m8 4V3m-9 8h10m-11 9h12a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
}

    .flatpickr-input:focus {
        border-color: #7E3FF2;
        box-shadow: 0 0 0 2px rgba(126, 63, 242, 0.2);
        outline: none;
    }

/* --- Smaller Calendar --- */
.flatpickr-calendar {
    font-size: 12px !important;
    transform: scale(0.9); /* reduce overall calendar size */
    transform-origin: top left;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.flatpickr-months {
    padding: 4px 0;
}

.flatpickr-current-month {
    font-size: 13px !important;
    padding-top: 2px;
}

.flatpickr-day {
    width: 28px !important;
    height: 28px !important;
    line-height: 28px !important;
    margin: 1px !important;
}

    .flatpickr-day.selected {
        background: #7E3FF2;
        color: white;
        border-color: #7E3FF2;
    }

    .flatpickr-day:hover {
        background: #E9D8FD;
    }
