/* Assign Team Member Modal Styles */

/* Avatar utility */
.assign-team-member-modal .avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.assign-team-member-modal .avatar-md {
    width: 48px;
    height: 48px;
}

/* Selected user info card */
.assign-team-member-modal #selected-user-info-card {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
}

.assign-team-member-modal #selected-user-info-card .card-body {
    padding: 1rem;
}

/* Modal footer */
.assign-team-member-modal .modal-footer {
    padding-top: 1rem;
    margin-top: 1.5rem;
}

/* Choices.js Styling for Assign Team Member Modal */
.assign-team-member-modal .choices {
    margin-bottom: 0;
}

.assign-team-member-modal .choices__inner {
    min-height: 48px !important;
    padding: 10px 14px !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    background-color: white !important;
    display: flex !important;
    align-items: center !important;
}

.assign-team-member-modal .choices__list--single {
    padding: 0 !important;
}

.assign-team-member-modal .choices[data-type*="select-one"] .choices__inner {
    padding-bottom: 10px !important;
}

.assign-team-member-modal .choices__list--dropdown {
    z-index: 9999 !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    margin-top: 4px !important;
}

.assign-team-member-modal .choices__list--dropdown .choices__item {
    padding: 10px 14px !important;
    font-size: 14px !important;
}

.assign-team-member-modal .choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: #0d6efd !important;
    color: white !important;
}

.assign-team-member-modal .choices[data-type*="select-one"]:after {
    right: 14px !important;
    border-color: #666 transparent transparent !important;
}

.assign-team-member-modal .choices__input {
    background-color: transparent !important;
    font-size: 14px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.assign-team-member-modal .choices__input--cloned {
    background-color: white !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 6px !important;
    margin-bottom: 8px !important;
}

.assign-team-member-modal .choices__placeholder {
    opacity: 0.5;
    font-size: 15px !important;
}

.assign-team-member-modal .choices.is-open .choices__placeholder {
    display: none;
}

.assign-team-member-modal .choices__list--dropdown .choices__input {
    display: block !important;
    width: 100% !important;
    padding: 10px 12px !important;
    background-color: white !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 6px !important;
    margin-bottom: 8px !important;
}

/* Form text styling */
.assign-team-member-modal .form-text {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

/* Button styling */
.assign-team-member-modal .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
}

.assign-team-member-modal .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
