/* Donation Model Style */
.fade.auction-attendee-selection.in {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.auction-attendee-selection__dialog {
    max-width: 500px;
    width: 100%;
}

.auction-attendee-selection__dialog-body {
    /*max-height: 490px;*/
    padding: 0 30px;
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
}

.auction-attendee-selection__btn-close {
    align-self: end;
    cursor: pointer;
}

.auction-attendee-selection__title {
    color: #1E0A3B;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    line-height: 55px;
    padding-top: 13px;
}

.auction-attendee-selection__types {
    padding-top: 20px;
    display: flex;
    flex-flow: row;
    gap: 45px;
    flex-wrap: wrap;
    justify-content: center;
}

.auction-attendee-selection__types svg:hover path {
    fill: var(--primary-color);
    cursor: pointer;
}

.auction-attendee-selection__types svg:hover path:first-child, .auction-attendee-selection__choice--active path:first-child {
    fill: #ffffff;
    cursor: pointer;
}

.auction-attendee-selection__choice--active {
    color: var(--primary-color);
}

.auction-attendee-selection__choice--active path {
    fill: var(--primary-color);
    cursor: pointer;
}

.auction-attendee-selection__choice {
    display: flex;
    justify-content: center;
    flex-flow: column;
    gap: 10px;
    cursor: pointer;
    align-items: center;
}

@media screen and (max-width: 480px) {
    .auction-attendee-selection__choice {
        min-width: 130px;
    }
}

.auction-attendee-selection__choice:hover {
    color: var(--primary-color);
}

.auction-attendee-selection__footer {
    margin-top: 35px;
    margin-bottom: 10px;
}

.auction-attendee-selection__continue-btn {
    margin-top: 45px;
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    width: 144px;
    height: 36px;
    border-radius: 18px;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    justify-content: center;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.auction-attendee-selection__back-btn {
    margin-top: 45px;
    color: #000000;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    width: 144px;
    height: 36px;
    border-radius: 18px;
    background: #ccc;
    justify-content: center;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-right: 15px;
}

.auction-attendee-selection__continue-btn:hover {
    text-decoration: none;
    background: rgba(111, 190, 74, 0.8);
    color: #FFF;
}

.auction-attendee-selection__continue-btn:focus {
    outline: none !important;
}

.join-team-option-name {
    font-family: montserrat-r;
    font-size: 14px;
    font-weight: 500;
    line-height: 17.07px;
    text-align: left;
}

.join-team-option-desc {
    font-family: montserrat-r;
    font-size: 13px;
    font-weight: 600;
    line-height: 15.85px;
    text-align: left;
    color: var(--primary-color) !important;
}

.back-to-prev-modal {
    font: 16px montserrat-r;
    color: #1c4477;
    margin-top: 0;
    text-align: left;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.back-to-prev-modal a {
    color: #1c4477;
    text-decoration: none;
}

.back-to-prev-modal span {
    width: 24px;
    height: 24px;
    background: #1c4477;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    margin-right: 7px;
}

.w-100 {
    width: 100% !important;
}

.flex {
    display: flex;
}

.flex.flex-sb {
    justify-content: space-between;
}


.flex.flex-center {
    justify-content: center;
}

/* --- New Attendee Selection Styles --- */

.attendee-selection-info-text {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
    line-height: 1.4;
    padding-top: 13px;
}

.attendee-list {
    width: 100%; /* Make list take full width */
    margin-bottom: 24px;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    max-width: 500px; /* Constrain the list width */
    max-height: 250px;
    overflow-y: auto;
}

.attendee-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    border-left: 5px solid transparent;
    background-color: #fff;
}

.attendee-item:not(:last-child) {
    border-bottom: 1px solid #eee;
}

/* Style for the selected item */
.attendee-item.selected-attendee {
    background-color: #f0f8ff; /* Light blue background */
    border-left: 5px solid var(--primary-color); /* Use primary color for indicator */
    border-color: var(--primary-color);
}

.attendee-item:hover {
    background-color: #f9f9f9;
}

.attendee-item.selected-attendee:hover {
    background-color: #e6f3ff;
}

.attendee-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: #555;
    margin-right: 15px;
    flex-shrink: 0;
}

.attendee-details {
    flex-grow: 1;
}

.attendee-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.attendee-info {
    font-size: 14px;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    margin: 8px 8px 0;
}

.card-info {
    background-color: #dae4e2;
    border-radius: 10px;
    padding: 2px 8px;
    width: max-content;
}

.attendee-info span {
    /*margin-right: 12px;*/
    white-space: nowrap;
}

.attendee-info span:last-child {
    margin-right: 0;
}

.footer-options {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    width: 100%; /* Take full width of the body */
    max-width: 450px;
    text-align: center;
}

.footer-options .flex {
    align-items: center; /* Align items in the button group */
}

.link-button {
    background: none;
    border: none;
    color: var(--primary-color); /* Use primary color */
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    margin: 0;
}

.use-different-contact {
    margin-right: 20px;
}

/* Reusing your existing continue button style but ensuring it's in the right context */
.auction-attendee-selection__continue-btn {
    /* Existing styles should apply, but ensure margin-top is adjusted */
    margin-top: 0;
}

/* Adjust the dialog body to center the smaller attendee list */
.auction-attendee-selection__dialog-body {
    margin: 0 auto;
}

.selection__none-div {
    margin-top: 15px;
}

.selection__none-btn {
    color: red;
}
