.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: 600px;
    max-height: 80vh;
    overflow-y: auto;
    transform: translateY(-20px);
    transition: transform 0.3s;
}

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

.user-delete-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    position: relative;
}

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

.user-delete-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-delete-modal-close:hover {
    color: #333;
}

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

.user-delete-data {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.user-delete-data-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

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

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

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

.user-delete-warning {
    background-color: #fff2f0;
    border: 1px solid #ffccc7;
    color: #cf1322;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.user-delete-warning h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

.user-delete-notice {
    background-color: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #52c41a;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.user-delete-notice h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

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

.user-delete-notice li {
    margin-bottom: 5px;
}

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

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

.user-delete-password input:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.user-delete-modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

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

.user-delete-cancel-button:hover {
    border-color: #1890ff;
    color: #1890ff;
}

.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;
}

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

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

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

.user-delete-loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    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-error {
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 5px;
}
