.user-delete-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.user-delete-section h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.user-delete-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff4d4f;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.user-delete-button:hover {
    background-color: #ff7875;
}

.user-delete-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.user-delete-modal.active {
    opacity: 1;
    visibility: visible;
}

.user-delete-modal-content {
    background-color: white;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    transform: translateY(-20px);
    transition: transform 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.user-delete-modal.active .user-delete-modal-content {
    transform: translateY(0);
}

.user-delete-modal-header {
    padding: 20px;
    text-align: center;
    background-color: #ff4d4f;
    color: white;
    border-radius: 8px 8px 0 0;
    position: relative;
    border: none;
}

.user-delete-modal-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: white;
}

.user-delete-modal-subtitle {
    font-size: 12px;
    margin: 0;
    opacity: 0.95;
    font-weight: 400;
}

.user-delete-modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: white;
    opacity: 0.8;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    z-index: 10;
}

.user-delete-modal-close:hover {
    opacity: 1;
    color: white;
}

/* 步骤指示器 */
.user-delete-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    padding: 0 20px;
}

.user-delete-step-item {
    display: flex;
    align-items: center;
}

.user-delete-step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d9d9d9;
    transition: all 0.3s;
}

.user-delete-step-line {
    width: 30px;
    height: 1px;
    background-color: #d9d9d9;
    margin: 0 15px;
    transition: all 0.3s;
}

.user-delete-step-item.active .user-delete-step-dot {
    background-color: #ff4d4f;
    width: 10px;
    height: 10px;
}

.user-delete-step-item.active .user-delete-step-line {
    background-color: #d9d9d9;
}

.user-delete-modal-body {
    padding: 0 30px 20px;
}

.user-delete-data {
    background-color: transparent;
    padding: 0;
    margin-bottom: 20px;
    border-radius: 0;
}

.user-delete-data-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.user-delete-data-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.user-delete-data-label {
    color: #666;
}

.user-delete-data-value {
    font-weight: 600;
    color: #333;
}

.user-delete-notice {
    background-color: transparent;
    border: none;
    color: #666;
    padding: 0;
    margin: 20px 0;
    font-size: 14px;
}

.user-delete-notice h5 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.user-delete-notice ul {
    margin: 0;
    padding-left: 20px;
}

.user-delete-notice li {
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    list-style-type: disc;
}

.user-delete-password {
    margin-bottom: 20px;
}

.user-delete-password input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 10px;
    box-sizing: border-box;
    background-color: #fafafa;
}

.user-delete-password input:focus {
    outline: none;
    border-color: #ff4d4f;
    box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.1);
    background-color: white;
}

.user-delete-modal-footer {
    padding: 15px 30px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    background-color: #fafafa;
    border-radius: 0 0 8px 8px;
}

.user-delete-cancel-button {
    padding: 10px 20px;
    background-color: white;
    color: #666;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    min-width: 80px;
}

.user-delete-cancel-button:hover {
    border-color: #d0d0d0;
    background-color: #f5f5f5;
}

.user-delete-confirm-button {
    padding: 10px 20px;
    background-color: #ff4d4f;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    min-width: 100px;
}

.user-delete-confirm-button:hover:not(:disabled) {
    background-color: #ff6b6b;
}

.user-delete-confirm-button:disabled {
    background-color: #ffccc7;
    cursor: not-allowed;
    opacity: 0.6;
}

.user-delete-countdown {
    font-size: 12px;
    color: #999;
    margin-top: 15px;
    text-align: center;
}

.user-delete-loading {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #ff4d4f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 5px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.user-delete-step h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 25px 0;
    text-align: left;
}

.user-delete-reason-label {
    display: block;
    margin: 0 0 15px 0;
    color: #666;
    font-size: 14px;
}

.user-delete-reason-select {
    margin-bottom: 20px;
}

.user-delete-reason-dropdown {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s;
    box-sizing: border-box;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='%23999' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px 6px;
    padding-right: 35px;
}

.user-delete-reason-dropdown:focus {
    outline: none;
    border-color: #ff4d4f;
    box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.1);
}

.user-delete-checkbox {
    margin: 25px 0;
    display: flex;
    align-items: flex-start;
}

.user-delete-checkbox input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}

.user-delete-checkbox label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    user-select: none;
    line-height: 1.5;
}

.user-delete-password-label {
    display: block;
    margin: 0 0 15px 0;
    color: #666;
    font-size: 14px;
}

.user-delete-final-warning {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px 0;
    font-weight: 400;
    text-align: center;
}

/* 按钮样式更新 */
.user-delete-next-button {
    padding: 10px 20px;
    background-color: #ff4d4f;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    min-width: 100px;
}

.user-delete-next-button:hover:not(:disabled) {
    background-color: #ff6b6b;
}

.user-delete-next-button:disabled {
    background-color: #ffccc7;
    cursor: not-allowed;
    opacity: 0.6;
}

.user-delete-prev-button {
    padding: 10px 20px;
    background-color: white;
    color: #666;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    min-width: 80px;
}

.user-delete-prev-button:hover {
    border-color: #d0d0d0;
    background-color: #f5f5f5;
}

.user-delete-error {
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 5px;
}

/* 步骤内容样式 */
.user-delete-step {
    padding: 0;
}

.user-delete-reason-label {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
}

.user-delete-password-label {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
}

/* 优化步骤标题样式 */
.user-delete-step h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    text-align: center;
}

/* 优化下拉选择框样式 */
.user-delete-reason-dropdown option {
    padding: 10px;
    font-size: 14px;
    color: #333;
}

/* 其他原因文本域样式 */
.user-delete-other-reason {
    margin-top: 15px;
}

.user-delete-reason-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
    box-sizing: border-box;
    font-family: inherit;
    line-height: 1.5;
    background-color: #fafafa;
    transition: all 0.3s;
}

.user-delete-reason-textarea:focus {
    outline: none;
    border-color: #ff4d4f;
    box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.1);
    background-color: white;
}

.user-delete-reason-textarea::placeholder {
    color: #999;
}

/* 优化倒计时样式 */
.user-delete-countdown {
    font-size: 14px;
    color: #999;
    margin: 20px 0;
    text-align: center;
}

/* 优化按钮布局 */
.user-delete-modal-footer {
    justify-content: center;
}

.user-delete-modal-footer button {
    width: auto;
}
