/* Adjustment Modal Styles */
.adjustment-modal-content {
    width: 95%;
    max-width: 600px;
    height: 80vh;
    overflow-x: hidden;
    /* Taller */
}

/* Fix: Ensure body doesn't scroll horizontally */
.adjustment-modal-content .modal-body {
    overflow-x: hidden !important;
    width: 100%;
    padding-right: 4px;
    /* Prevent scrollbar shift? */
}

/* Ensure Lists stay within bounds */
.friend-select-list,
.results-list {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Results Area */
.results-area {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--bg-tertiary);
    animation: fadeIn 0.3s ease;
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.result-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: var(--bg-tertiary);
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.result-card:hover {
    background-color: var(--bg-secondary);
}

.result-card.selected {
    background-color: rgba(88, 101, 242, 0.1);
    border-color: var(--brand);
}

.result-time {
    font-weight: 600;
    color: var(--text-normal);
}

.result-score {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.participants-count {
    margin-left: 8px;
    background: var(--bg-secondary);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}

/* Selection Icons */
.selection-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
}

.unchecked-icon {
    color: var(--text-muted);
    opacity: 0.5;
    width: 20px;
    height: 20px;
}

.checked-icon {
    width: 20px;
    height: 20px;
}

.propose-action-area {
    padding-top: 12px;
}

.full-width {
    width: 100%;
}

/* Success View */
.success-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    animation: fadeIn 0.4s ease;
    text-align: center;
}

.success-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(88, 101, 242, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--brand);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon-large {
    width: 32px;
    height: 32px;
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-normal);
    margin-bottom: 12px;
}

.success-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}