/* 系统更新确认对话框样式 */
.update-confirm-dialog {
  .el-message-box {
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    
    .el-message-box__header {
      background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
      color: white;
      border-radius: 12px 12px 0 0;
      padding: 20px 24px;
      
      .el-message-box__title {
        color: white;
        font-weight: 600;
        font-size: 18px;
      }
      
      .el-message-box__headerbtn {
        .el-message-box__close {
          color: white;
          font-size: 18px;
          
          &:hover {
            color: rgba(255, 255, 255, 0.8);
          }
        }
      }
    }
    
    .el-message-box__content {
      padding: 24px;
      
      .el-message-box__container {
        .el-message-box__status {
          font-size: 24px;
          margin-top: 8px;
        }
        
        .el-message-box__message {
          font-size: 16px;
          line-height: 1.6;
          color: #606266;
          
          p {
            margin: 0;
          }
        }
      }
    }
    
    .el-message-box__btns {
      padding: 16px 24px 24px;
      
      .el-button {
        border-radius: 8px;
        padding: 12px 24px;
        font-weight: 500;
        
        &.el-button--primary {
          background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
          border: none;
          
          &:hover {
            background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
          }
        }
        
        &.el-button--default {
          border: 2px solid #dcdfe6;
          color: #606266;
          
          &:hover {
            border-color: #c0c4cc;
            color: #409eff;
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
          }
        }
      }
    }
  }
}

/* 更新通知样式增强 */
.el-notification {
  &.update-notification {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-left: 4px solid #e6a23c;
    
    .el-notification__title {
      font-weight: 600;
      color: #303133;
    }
    
    .el-notification__content {
      color: #606266;
      cursor: pointer;
      
      &:hover {
        color: #409eff;
      }
    }
    
    .el-notification__closeBtn {
      color: #909399;
      
      &:hover {
        color: #606266;
      }
    }
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .update-confirm-dialog {
    .el-message-box {
      width: 90% !important;
      margin: 0 auto;
      
      .el-message-box__header {
        padding: 16px 20px;
        
        .el-message-box__title {
          font-size: 16px;
        }
      }
      
      .el-message-box__content {
        padding: 20px;
        
        .el-message-box__message {
          font-size: 14px;
        }
      }
      
      .el-message-box__btns {
        padding: 12px 20px 20px;
        
        .el-button {
          padding: 10px 20px;
          font-size: 14px;
        }
      }
    }
  }
}

/* 动画效果 */
.update-confirm-dialog {
  .el-message-box {
    animation: slideInDown 0.3s ease-out;
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}