.pcoded-navbar .pcoded-inner-navbar li > a > .pcoded-micon i {
    color: #78828a;
    background: transparent;
    min-height: 35px;
    min-width: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    border: 1px solid #cecece;
}

fieldset {
    border: 1px solid #e5e7eb !important;
    background-color: #f9fafb !important;
    transition: all 0.25s ease;
}
fieldset:hover {
    border-color: #86b7fe !important;
    background-color: #f8fbff !important;
}
legend {
    font-size: 1rem;
}
input.form-control,
select.form-select {
    border-radius: 0.6rem;
    padding: 0.55rem 0.8rem;
}
.btn-primary {
    background: linear-gradient(135deg, #2c7be5, #1a68d1);
    border: none;
}
.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    transition: 0.2s;
}

/* 🌈 Modern Input & Select Styling */
.form-control,
.form-select,
.select2-container {
    border: 1px solid #dee2e6;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.8);
    /* backdrop-filter: blur(8px); */
    /* box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); */
    transition: all 0.25s ease;
    padding: 0.6rem 0.9rem;
    font-size: 0.95rem;
    color: #212529;
    height: unset;
    width: 100%;
    min-width: 100%;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
}

.select2-container--default .select2-selection--single {
    border: none !important;
    z-index: 1 !important;
}

.select2-container.select2-container--default.select2-container--open {
    width: unset;
    min-width: unset;
}

select.form-control:not([size]):not([multiple]) {
    height: unset !important;
}
/* 🧠 Hover & Focus States */
.form-control:focus,
.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    background: #fff;
    outline: none;
}

/* ✨ Placeholder Styling */
::placeholder {
    color: #adb5bd;
    font-size: 0.9rem;
}

/* 🪶 Labels */
label {
    font-weight: 600;
    color: #333;
    font-size: 0.7rem;
    margin-bottom: 4px;
    width: 100%;
}

label i {
    display: none !important;
}

/* 📦 Form Group Spacing */
.form-group {
    margin-bottom: 1rem;
}

/* 🧾 Textarea Style */
textarea.form-control {
    resize: vertical;
    min-height: 100px;
    z-index: 1 !important;
}

/* 📑 Select Styling */
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5H3z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    cursor: pointer;
}

/* 📎 File Upload */
input[type="file"] {
    border: 2px dashed #ced4da;
    background: rgba(248, 249, 250, 0.9);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}

input[type="file"]:hover {
    border-color: var(--bs-primary);
    background: #fff;
}

input[type="file"]::file-selector-button {
    border: none;
    background: var(--bs-primary);
    color: #fff;
    padding: 0.45rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
}

input[type="file"]::file-selector-button:hover {
    background: #0b5ed7;
}

/* ✅ Validation Colors */
.is-valid {
    border-color: #198754 !important;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.1) !important;
}

.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.1) !important;
}

/* 📱 Responsive Padding Adjustments */
@media (max-width: 576px) {
    .form-control,
    .form-select {
        font-size: 0.9rem;
        padding: 0.55rem 0.8rem;
    }
}

.pcoded-navbar .navbar-content {
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #a3aed0 #f1f3f9; /* Firefox thumb and track */
}

/* For WebKit browsers (Chrome, Edge, Safari) */
.pcoded-navbar .navbar-wrapper::-webkit-scrollbar {
    width: 8px;
}

.pcoded-navbar .navbar-wrapper::-webkit-scrollbar-track {
    background: #f1f3f9;
    border-radius: 10px;
}

.pcoded-navbar .navbar-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #b8c1ec, #6c63ff);
    border-radius: 10px;
}

.pcoded-navbar .navbar-wrapper::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #6c63ff, #5145cd);
}

.input-group {
    background: transparent;
}

body,
.pcoded-main-container,
.modal-body {
    overflow-x: hidden;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    min-width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 100px !important;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

input[type="checkbox"]:hover {
    border-color: #6366f1;
}

input[type="checkbox"]:checked {
    background-color: #6366f1;
    border-color: #6366f1;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

.select2-container .select2-selection--single .select2-selection__rendered {
    text-overflow: clip !important;
}

.form-check {
    display: flex;
    align-items: center;
    align-content: center;
}

.form-check label {
    margin-bottom: unset !important;
    margin-left: 5px;
}

.hidden-select {
    display: none !important;
}

/* Clean Flat White Modern Theme */
.select2-container .select2-selection--single {
    height: 35px !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.2s ease-in-out;
}

.select2-container--default .select2-selection--single:hover {
    border-color: #bfbfbf !important;
}

.select2-selection__rendered {
    line-height: 30px !important;
    color: #333 !important;
}

.select2-selection__arrow {
    height: 38px !important;
    scale: 2;
    width: 55px !important;
}

/* Dropdown */
.select2-dropdown {
    border-radius: 8px !important;
    border: 1px solid #e6e6e6 !important;
    box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.08) !important;
}

/* Options */
.select2-results__option {
    padding: 10px 14px !important;
    border-bottom: 1px solid #f5f5f5 !important;
    font-size: 14px !important;
}

.select2-results__option--highlighted {
    background: #f2f2f2 !important;
    color: #333 !important;
}

.select2-results__option--selected {
    background: #e9e9e9 !important;
    color: #000 !important;
}

/* Search */
.select2-search__field {
    padding: 8px !important;
    border-radius: 6px !important;
    border: 1px solid #ddd !important;
}
