/**
 * 用户中心弹窗样式
 */

/* 遮罩层 */
.user-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.user-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* 弹窗容器 */
.user-modal-container {
    width: 60%;
    max-width: 800px;
    height: 70vh;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transform: scale(0.8) translateY(50px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
    position: relative;
    overflow: hidden;
}

.user-modal-overlay.show .user-modal-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* 从下往上的涟漪动画效果 */
.user-modal-container::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle at center bottom, rgba(196, 69, 54, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    transform: translateX(-50%);
    transition: width 0.8s ease, height 0.8s ease, bottom 0.8s ease;
    pointer-events: none;
    z-index: 0;
}

.user-modal-overlay.show .user-modal-container::before {
    width: 300%;
    height: 300%;
    bottom: -100%;
}

/* 弹窗头部 */
.user-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    position: relative;
    z-index: 1;
}

.user-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.user-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: #c44536;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
    font-size: 16px;
}

.user-modal-close:hover {
    background: #a33a2d;
    transform: rotate(90deg);
}

/* 弹窗内容区 */
.user-modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    position: relative;
    z-index: 1;
}

/* 滚动条样式 */
.user-modal-content::-webkit-scrollbar {
    width: 6px;
}

.user-modal-content::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 3px;
}

.user-modal-content::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.user-modal-content::-webkit-scrollbar-thumb:hover {
    background: #ff2442;
}

/* ============ 个人信息页面 ============ */
.profile-section {
    margin-bottom: 24px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border-radius: 12px;
    margin-bottom: 24px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ff2442;
    box-shadow: 0 4px 15px rgba(255, 36, 66, 0.2);
}

.profile-basic-info {
    flex: 1;
}

.profile-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.profile-uid {
    font-size: 14px;
    color: #999;
    font-family: monospace;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.profile-info-item {
    padding: 16px;
    background: #f9f9f9;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.profile-info-item:hover {
    background: #fff5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 36, 66, 0.1);
}

.profile-info-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-info-value {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.profile-bio {
    grid-column: 1 / -1;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 10px;
}

.profile-bio-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 账号安全区域 */
.security-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.security-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.security-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.security-item:hover {
    background: #fff5f5;
}

.security-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.security-item-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff2442;
    font-size: 18px;
}

.security-item-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.security-item-info p {
    font-size: 12px;
    color: #999;
}

.security-item-arrow {
    color: #ccc;
    font-size: 14px;
}

/* ============ 关注列表页面 ============ */
.following-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.following-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.following-item:hover {
    background: #fff5f5;
    transform: translateX(4px);
}

.following-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.following-info {
    flex: 1;
}

.following-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.following-uid {
    font-size: 12px;
    color: #999;
    font-family: monospace;
    margin-bottom: 6px;
}

.following-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.following-tag {
    padding: 2px 8px;
    background: #ff2442;
    color: white;
    font-size: 11px;
    border-radius: 10px;
}

.following-unfollow-btn {
    padding: 8px 16px;
    background: white;
    border: 1px solid #ff2442;
    color: #ff2442;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.following-unfollow-btn:hover {
    background: #ff2442;
    color: white;
}

/* ============ 消息列表页面 ============ */
.message-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.message-item:hover {
    background: #fff5f5;
}

.message-item.unread {
    background: #fff5f5;
    border-left: 3px solid #ff2442;
}

.message-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.message-content {
    flex: 1;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.message-sender {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.message-time {
    font-size: 12px;
    color: #999;
}

.message-text {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============ 空状态 ============ */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state-title {
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
}

.empty-state-desc {
    font-size: 14px;
    color: #999;
}

/* ============ 修改密码页面 ============ */
.password-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #ff2442;
    box-shadow: 0 0 0 3px rgba(255, 36, 66, 0.1);
}

.form-input::placeholder {
    color: #ccc;
}

.code-input-group {
    display: flex;
    gap: 12px;
}

.code-input-group .form-input {
    flex: 1;
}

.btn-send-code {
    padding: 12px 20px;
    background: #ff2442;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-send-code:hover {
    background: #e02040;
}

.btn-send-code:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff2442 0%, #ff4d6d 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 36, 66, 0.3);
}

/* ============ 头像编辑 ============ */
.profile-avatar-wrapper {
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.profile-avatar-wrapper:hover .avatar-overlay {
    opacity: 1;
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 12px;
}

.avatar-overlay i {
    font-size: 20px;
    margin-bottom: 4px;
}

/* ============ 昵称编辑 ============ */
.profile-name-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.edit-icon {
    font-size: 14px;
    color: #999;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.edit-icon:hover {
    color: #ff2442;
    background: #fff5f5;
}

.edit-nickname-input {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    border: 2px solid #ff2442;
    border-radius: 8px;
    padding: 4px 12px;
    outline: none;
    width: 200px;
}

/* ============ 个性签名编辑 ============ */
.edit-bio-icon {
    font-size: 12px;
    color: #999;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-left: 8px;
}

.edit-bio-icon:hover {
    color: #ff2442;
    background: #fff5f5;
}

.edit-bio-textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 2px solid #ff2442;
    border-radius: 10px;
    font-size: 14px;
    color: #666;
    resize: vertical;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
}

.edit-bio-textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 36, 66, 0.1);
}

.edit-bio-save {
    margin-top: 12px;
    padding: 8px 20px;
    background: #ff2442;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.edit-bio-save:hover {
    background: #e02040;
    transform: translateY(-2px);
}

.edit-bio-save i {
    margin-right: 4px;
}

/* ============ 头像裁剪弹窗 ============ */
.avatar-cropper-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-cropper-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-cropper-container {
    background: white;
    border-radius: 16px;
    padding: 24px;
    max-width: 800px;
    width: 90%;
    position: relative;
}

.avatar-cropper-container h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #333;
    text-align: center;
}

.cropper-hint {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-bottom: 16px;
}

.avatar-cropper-content {
    display: flex;
    gap: 24px;
}

.avatar-cropper-left {
    flex: 1;
}

.avatar-cropper-right {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.avatar-cropper-area {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    background: #333;
    cursor: grab;
    touch-action: none;
}

.avatar-cropper-area:active {
    cursor: grabbing;
}

.avatar-cropper-area img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cropper-controls {
    margin: 20px 0;
}

.zoom-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.control-btn {
    padding: 8px 16px;
    background: #f5f5f5;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    color: #666;
    font-size: 14px;
}

.control-btn:hover {
    background: #ff2442;
    color: white;
}

.aspect-rotation-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.aspect-ratio-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.aspect-ratio-selector label {
    font-size: 14px;
    color: #666;
}

.aspect-ratio-selector select {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.rotation-controls {
    display: flex;
    gap: 8px;
}

.cropper-tips {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 16px;
}

.avatar-preview-section {
    background: #f9f9f9;
    padding: 16px;
    border-radius: 8px;
}

.avatar-preview-section h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #333;
    text-align: center;
}

.avatar-preview-container {
    display: flex;
    justify-content: center;
}

.avatar-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid #ddd;
    overflow: hidden;
    background: #e8e8e8;
}

.avatar-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-info {
    text-align: center;
}

.status-text {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.action-hint {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.action-buttons .btn-cancel {
    flex: 1;
    padding: 10px;
    background: #f5f5f5;
    color: #666;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-buttons .btn-cancel:hover {
    background: #e8e8e8;
}

.action-buttons .btn-confirm {
    flex: 1;
    padding: 10px;
    background: #ff2442;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-buttons .btn-confirm:hover {
    background: #e02040;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .user-modal-container {
        width: 98%;
        height: 95vh;
        overflow-y: auto;
        padding: 12px;
        box-sizing: border-box;
    }
    
    .user-modal-header {
        padding: 12px 16px;
    }
    
    .user-modal-title {
        font-size: 16px;
    }
    
    .user-modal-content {
        padding: 12px;
    }
    
    .profile-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .following-item {
        flex-wrap: wrap;
    }
    
    .following-unfollow-btn {
        width: 100%;
        margin-top: 10px;
    }
    
    /* 头像裁剪弹窗响应式优化 */
    .avatar-cropper-container {
        width: 98%;
        max-width: none;
        padding: 12px;
        box-sizing: border-box;
    }
    
    .avatar-cropper-content {
        flex-direction: column;
        gap: 12px;
    }
    
    .avatar-cropper-left {
        width: 100%;
    }
    
    .avatar-cropper-right {
        width: 100%;
        margin-top: 0;
    }
    
    .avatar-cropper-area {
        height: 180px;
        width: 100%;
    }
    
    .cropper-controls {
        margin: 12px 0;
        padding: 0 8px;
    }
    
    .zoom-controls {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .control-btn {
        padding: 4px 8px;
        font-size: 11px;
        flex: 1;
        min-width: 80px;
    }
    
    .aspect-rotation-controls {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .aspect-ratio-selector {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .aspect-ratio-selector label {
        font-size: 12px;
    }
    
    .aspect-ratio-selector select {
        flex: 1;
        min-width: 100px;
        padding: 4px 8px;
        font-size: 12px;
    }
    
    .rotation-controls {
        width: 100%;
        justify-content: space-between;
        gap: 6px;
    }
    
    .rotation-controls .control-btn {
        flex: 1;
        text-align: center;
        font-size: 10px;
    }
    
    .avatar-preview-section {
        margin-bottom: 12px;
        padding: 10px;
    }
    
    .avatar-preview-section h4 {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .avatar-preview {
        width: 80px;
        height: 80px;
    }
    
    .avatar-actions {
        margin-top: 12px;
    }
    
    .action-info {
        margin-bottom: 8px;
    }
    
    .action-buttons {
        flex-direction: row;
        justify-content: space-between;
        gap: 8px;
    }
    
    .action-buttons .btn-cancel,
    .action-buttons .btn-confirm {
        flex: 1;
        margin: 0;
        padding: 10px;
        font-size: 12px;
    }
    
    .status-text {
        font-size: 11px;
    }
    
    .action-hint {
        font-size: 9px;
    }
    
    .cropper-tips {
        font-size: 9px;
        margin-top: 8px;
    }
    
    /* 内容管理响应式优化 */
    .content-management {
        padding: 12px;
    }
    
    .content-item {
        padding: 12px;
    }
    
    .content-cover {
        width: 80px;
        height: 80px;
        margin-right: 12px;
    }
    
    .content-title {
        font-size: 14px;
    }
    
    .content-desc {
        font-size: 12px;
    }
    
    .content-meta {
        font-size: 10px;
    }
    
    .content-actions {
        margin-left: 12px;
        gap: 6px;
    }
    
    .content-action-btn {
        width: 28px;
        height: 28px;
    }
    
    .toggle-label {
        gap: 6px;
    }
    
    .toggle-slider {
        width: 36px;
        height: 18px;
    }
    
    .toggle-slider::before {
        width: 14px;
        height: 14px;
    }
    
    .toggle-text {
        font-size: 11px;
    }
}

/* 内容管理样式 */
.content-management {
  padding: 20px;
}

.content-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.content-item {
  display: flex;
  align-items: center;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.content-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.content-cover {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  margin-right: 16px;
  position: relative;
  flex-shrink: 0;
}

.content-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-management .media-type-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 12px;
  padding: 4px;
  text-align: center;
}

.content-info {
  flex: 1;
  min-width: 0;
}

.content-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.content-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.content-meta {
  font-size: 12px;
  color: #999;
  display: flex;
  justify-content: space-between;
}

.content-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: 16px;
}

.content-action-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.edit-btn {
  background: #f0f0f0;
  color: #666;
}

.edit-btn:hover {
  background: #e0e0e0;
  color: #333;
}

.delete-btn {
  background: #fef0f0;
  color: #ff4d4f;
}

.delete-btn:hover {
  background: #ffccc7;
  color: #ff4d4f;
}

/* 删除确认弹窗样式 */
.delete-confirm-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.delete-confirm-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.delete-confirm-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10001;
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.delete-confirm-content h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.delete-confirm-content p {
  margin-bottom: 24px;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.delete-confirm-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.btn-cancel,
.btn-confirm {
  padding: 8px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cancel {
  background: #fff;
  color: #666;
}

.btn-cancel:hover {
  border-color: #40a9ff;
  color: #40a9ff;
}

.btn-confirm {
  background: #ff4d4f;
  color: #fff;
  border-color: #ff4d4f;
}

.btn-confirm:hover {
  background: #ff7875;
  border-color: #ff7875;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .content-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .content-cover {
    width: 100%;
    height: 160px;
    margin-right: 0;
    margin-bottom: 12px;
  }

  .content-actions {
    flex-direction: row;
    margin-left: 0;
    margin-top: 12px;
    align-self: flex-end;
  }

  .content-action-btn {
    width: 36px;
    height: 36px;
  }

  .delete-confirm-content {
    width: 95%;
    padding: 20px;
  }
}

/* 状态切换开关样式 */
.status-toggle {
  margin-bottom: 8px;
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.toggle-label input[type="checkbox"] {
  display: none;
}

.toggle-slider {
  width: 40px;
  height: 20px;
  background: #ddd;
  border-radius: 10px;
  position: relative;
  transition: background 0.3s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

.toggle-label input[type="checkbox"]:checked + .toggle-slider {
  background: #1890ff;
}

.toggle-label input[type="checkbox"]:checked + .toggle-slider::before {
  transform: translateX(20px);
}

.toggle-text {
  font-size: 12px;
  color: #666;
  white-space: nowrap;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .status-toggle {
    margin-bottom: 12px;
  }
  
  .content-actions {
    flex-direction: row;
    align-items: center;
  }
  
  .status-toggle {
    margin-right: 12px;
    margin-bottom: 0;
  }
}
